add const to the key argument of anonymous_insert().

Michael
This commit is contained in:
Michael Adam 2009-08-05 00:15:04 +02:00
parent c6475974b5
commit 2ca1f9027b
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ anonymous_search (const char *s)
* successful.
*/
int
anonymous_insert (char *s)
anonymous_insert (const char *s)
{
char data = 1;

View File

@ -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