diff options
Diffstat (limited to 'src/locate.h')
-rw-r--r-- | src/locate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/locate.h b/src/locate.h index c165a310a..28b2782b0 100644 --- a/src/locate.h +++ b/src/locate.h @@ -28,10 +28,10 @@ typedef struct _LocateTagItem { char *needle; } LocateTagItem; -int getLocateTagItemType(char *str); +int getLocateTagItemType(const char *str); /* returns NULL if not a known type */ -LocateTagItem *newLocateTagItem(char *typeString, char *needle); +LocateTagItem *newLocateTagItem(const char *typeString, const char *needle); /* return number of items or -1 on error */ int newLocateTagItemArrayFromArgArray(char *argArray[], int numArgs, |