From 2ca1f9027b588505707d9affea4aaec714caa862 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 5 Aug 2009 00:15:04 +0200 Subject: add const to the key argument of anonymous_insert(). Michael --- src/anonymous.c | 2 +- src/anonymous.h | 2 +- 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 -- cgit v1.2.3