add const to the key argument for anonymous_search().

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

View File

@ -40,7 +40,7 @@ is_anonymous_enabled (void)
* zero if the string was found, zero if it wasn't and negative upon error.
*/
int
anonymous_search (char *s)
anonymous_search (const char *s)
{
assert (s != NULL);
assert (anonymous_map != NULL);

View File

@ -22,7 +22,7 @@
#define _TINYPROXY_ANONYMOUS_H_
extern short int is_anonymous_enabled (void);
extern int anonymous_search (char *s);
extern int anonymous_search (const char *s);
extern int anonymous_insert (char *s);
#endif