diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-06 16:18:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-07 07:21:32 +0100 |
commit | be354a2abd27548405caf97fdbc814b5a6b06995 (patch) | |
tree | a044c734c912a9a194f380d31aabd679772916b2 /soltools | |
parent | c947a25b3a785f8d43160671f79e3bb503dfb1ae (diff) |
loplugin:constparams
Change-Id: Ia322ecf8f80b28c58ec33d17ca9607401a92534b
Reviewed-on: https://gerrit.libreoffice.org/45959
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'soltools')
-rw-r--r-- | soltools/cpp/_tokens.c | 4 | ||||
-rw-r--r-- | soltools/cpp/cpp.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/soltools/cpp/_tokens.c b/soltools/cpp/_tokens.c index 4c73421b92da..c099f7ae1f89 100644 --- a/soltools/cpp/_tokens.c +++ b/soltools/cpp/_tokens.c @@ -67,7 +67,7 @@ static unsigned char toLatin1[256] = #define MASK "\\x%x" int - memcpy_EBCDIC( char * pwbuf, uchar *p, int len ) + memcpy_EBCDIC( char * pwbuf, uchar const *p, int len ) { int currpos = 0; int processedchars = 0; @@ -266,7 +266,7 @@ void * make sure there is WS before trp->tp, if tokens might merge in the output */ void - makespace(Tokenrow * trp, Token * ntp) + makespace(Tokenrow * trp, Token const * ntp) { uchar *tt; Token *tp = trp->tp; diff --git a/soltools/cpp/cpp.h b/soltools/cpp/cpp.h index 36b867679d15..64c37ad07899 100644 --- a/soltools/cpp/cpp.h +++ b/soltools/cpp/cpp.h @@ -218,7 +218,7 @@ void genline(void); void genimport(char const *, int, char const *, int); void genwrap(int); void setempty(Tokenrow *); -void makespace(Tokenrow *, Token *); +void makespace(Tokenrow *, Token const *); char *outnum(char *, int); int digit(int); uchar *newstring(uchar const *, size_t, size_t); |