summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-21 11:52:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-21 17:11:15 +0200
commitec340697d682bd7d0a361c8c701e513329c032bd (patch)
tree97fddfce1e5cf6ad94fc32653b261a1668441ce0 /solenv
parent7a7cba91a60c1c6d6645dfb8c7e88c5c6318ddee (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 'solenv')
-rw-r--r--solenv/bin/concat-deps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/bin/concat-deps.c b/solenv/bin/concat-deps.c
index 602bdf4b7dbf..5b9fb4ea7dd1 100644
--- a/solenv/bin/concat-deps.c
+++ b/solenv/bin/concat-deps.c
@@ -353,7 +353,7 @@ struct hash
c ^= b; c -= rot(b,24); \
}
-static unsigned int hash_compute( struct hash* hash, const char* key, int length)
+static unsigned int hash_compute( struct hash const * hash, const char* key, int length)
{
unsigned int a;
unsigned int b;
@@ -509,7 +509,7 @@ unsigned int i;
}
}
-static inline int compare_key(struct hash* hash, const char* a, const char* b, int len, int* cost)
+static inline int compare_key(struct hash const * hash, const char* a, const char* b, int len, int const * cost)
{
#ifdef HASH_STAT
*cost += 1;