summaryrefslogtreecommitdiff
path: root/soltools/mkdepend/include.c
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 /soltools/mkdepend/include.c
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 'soltools/mkdepend/include.c')
-rw-r--r--soltools/mkdepend/include.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/soltools/mkdepend/include.c b/soltools/mkdepend/include.c
index e83ac0fbc24b..4fbc651f15a9 100644
--- a/soltools/mkdepend/include.c
+++ b/soltools/mkdepend/include.c
@@ -32,8 +32,8 @@ in this Software without prior written authorization from the X Consortium.
#include <string.h>
void remove_dotdot( char * );
-int isdot( char * );
-int isdotdot( char * );
+int isdot( char const * );
+int isdotdot( char const * );
int issymbolic(char * dir, char * component);
int exists_path(struct IncludesCollection*, char*);
@@ -223,14 +223,14 @@ void remove_dotdot(char *path)
strcpy(path, newpath);
}
-int isdot(char *p)
+int isdot(char const *p)
{
if(p && p[0] == '.' && p[1] == '\0')
return TRUE;
return FALSE;
}
-int isdotdot(char *p)
+int isdotdot(char const *p)
{
if(p && p[0] == '.' && p[1] == '.' && p[2] == '\0')
return TRUE;
@@ -263,7 +263,7 @@ int issymbolic(char *dir, char *component)
/*
* Add an include file to the list of those included by 'file'.
*/
-struct inclist *newinclude(char *newfile, char *incstring)
+struct inclist *newinclude(char const *newfile, char const *incstring)
{
struct inclist *ip;