add const to the key argument of anonymous_insert().

Michael
This commit is contained in:
Michael Adam committed 2009-08-05 00:15:04 +02:00
1 parent c6475974b5
commit 2ca1f9027b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ anonymous_search (const char *s)
* successful. * successful.
*/ */
int int
anonymous_insert (char *s) anonymous_insert (const char *s)
{ {
char data = 1; char data = 1;
+1 -1
View File
@@ -23,6 +23,6 @@
extern short int is_anonymous_enabled (void); extern short int is_anonymous_enabled (void);
extern int anonymous_search (const char *s); extern int anonymous_search (const char *s);
extern int anonymous_insert (char *s); extern int anonymous_insert (const char *s);
#endif #endif