summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/anonymous.c2
-rw-r--r--src/anonymous.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/anonymous.c b/src/anonymous.c
index 87dfaf5..59d9d4a 100644
--- a/src/anonymous.c
+++ b/src/anonymous.c
@@ -40,7 +40,7 @@ is_anonymous_enabled (void)
* zero if the string was found, zero if it wasn't and negative upon error.
*/
int
-anonymous_search (char *s)
+anonymous_search (const char *s)
{
assert (s != NULL);
assert (anonymous_map != NULL);
diff --git a/src/anonymous.h b/src/anonymous.h
index b6c93be..bd26323 100644
--- a/src/anonymous.h
+++ b/src/anonymous.h
@@ -22,7 +22,7 @@
#define _TINYPROXY_ANONYMOUS_H_
extern short int is_anonymous_enabled (void);
-extern int anonymous_search (char *s);
+extern int anonymous_search (const char *s);
extern int anonymous_insert (char *s);
#endif