summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-05 00:15:04 +0200
committerMichael Adam <obnox@samba.org>2009-08-05 00:15:04 +0200
commit2ca1f9027b588505707d9affea4aaec714caa862 (patch)
treef65c8e9fadb2ce90b1226bb89b97ec7001c5c453
parentc6475974b5e99595d4b884612900814d0ec85634 (diff)
downloadtinyproxy-2ca1f9027b588505707d9affea4aaec714caa862.tar.gz
tinyproxy-2ca1f9027b588505707d9affea4aaec714caa862.zip
add const to the key argument of anonymous_insert().
Michael
-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 59d9d4a..bfd2dc6 100644
--- a/src/anonymous.c
+++ b/src/anonymous.c
@@ -55,7 +55,7 @@ anonymous_search (const char *s)
* successful.
*/
int
-anonymous_insert (char *s)
+anonymous_insert (const char *s)
{
char data = 1;
diff --git a/src/anonymous.h b/src/anonymous.h
index bd26323..0ca980e 100644
--- a/src/anonymous.h
+++ b/src/anonymous.h
@@ -23,6 +23,6 @@
extern short int is_anonymous_enabled (void);
extern int anonymous_search (const char *s);
-extern int anonymous_insert (char *s);
+extern int anonymous_insert (const char *s);
#endif