diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-21 11:52:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-21 17:11:15 +0200 |
commit | ec340697d682bd7d0a361c8c701e513329c032bd (patch) | |
tree | 97fddfce1e5cf6ad94fc32653b261a1668441ce0 /soltools/cpp/_tokens.c | |
parent | 7a7cba91a60c1c6d6645dfb8c7e88c5c6318ddee (diff) |
loplugin:constparams in soltools and various
Change-Id: I5e8e4a9a31aa7c3ff54cc7ce137d08770ea297e1
Reviewed-on: https://gerrit.libreoffice.org/40279
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'soltools/cpp/_tokens.c')
-rw-r--r-- | soltools/cpp/_tokens.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/soltools/cpp/_tokens.c b/soltools/cpp/_tokens.c index 097b627e88b6..4c73421b92da 100644 --- a/soltools/cpp/_tokens.c +++ b/soltools/cpp/_tokens.c @@ -251,7 +251,7 @@ int * Canonical whitespace is assured on each side. */ void - insertrow(Tokenrow * dtr, int ntok, Tokenrow * str) + insertrow(Tokenrow * dtr, int ntok, Tokenrow const * str) { int nrtok = (int)rowlen(str); @@ -289,7 +289,7 @@ void * Not strictly conforming. */ void - movetokenrow(Tokenrow * dtr, Tokenrow * str) + movetokenrow(Tokenrow * dtr, Tokenrow const * str) { size_t nby; @@ -325,7 +325,7 @@ void * the space for the contents. Return the destination. */ Tokenrow * - copytokenrow(Tokenrow * dtr, Tokenrow * str) + copytokenrow(Tokenrow * dtr, Tokenrow const * str) { int len = (int)rowlen(str); @@ -543,7 +543,7 @@ char * * Null terminated. */ uchar * - newstring(uchar * s, size_t l, size_t o) + newstring(uchar const * s, size_t l, size_t o) { uchar *ns = (uchar *) domalloc(l + o + 1); |