add const to the key argument of anonymous_insert().
Michael
This commit is contained in:
parent
c6475974b5
commit
2ca1f9027b
@ -55,7 +55,7 @@ anonymous_search (const char *s)
|
||||
* successful.
|
||||
*/
|
||||
int
|
||||
anonymous_insert (char *s)
|
||||
anonymous_insert (const char *s)
|
||||
{
|
||||
char data = 1;
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user