diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-05-27 02:21:37 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-05-27 02:21:37 +0000 |
commit | df52296674d9a2fa1c1eb57303a608b07e820b34 (patch) | |
tree | 92a4af3db1261b4d6758afd2d5ce8345caba3c4e /src | |
parent | bf477e9dffae6eb76d4f9f022870e4eef26ee895 (diff) | |
download | tinyproxy-df52296674d9a2fa1c1eb57303a608b07e820b34.tar.gz tinyproxy-df52296674d9a2fa1c1eb57303a608b07e820b34.zip |
Updated the return type for new_anonymous().
Diffstat (limited to 'src')
-rw-r--r-- | src/anonymous.c | 4 | ||||
-rw-r--r-- | src/anonymous.h | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/anonymous.c b/src/anonymous.c index f346ccb..a03347d 100644 --- a/src/anonymous.c +++ b/src/anonymous.c @@ -1,4 +1,4 @@ -/* $Id: anonymous.c,v 1.4 2001-05-23 18:01:23 rjkaes Exp $ +/* $Id: anonymous.c,v 1.5 2001-05-27 02:21:37 rjkaes Exp $ * * Handles insertion and searches for headers which should be let through when * the anonymous feature is turned on. The headers are stored in a Ternary @@ -33,7 +33,7 @@ static TERNARY anonymous_tree; -int new_anonymous(void) +TERNARY new_anonymous(void) { anonymous_tree = ternary_new(); return anonymous_tree; diff --git a/src/anonymous.h b/src/anonymous.h index 3533dc0..cf7eec6 100644 --- a/src/anonymous.h +++ b/src/anonymous.h @@ -1,4 +1,4 @@ -/* $Id: anonymous.h,v 1.3 2000-10-23 21:43:52 rjkaes Exp $ +/* $Id: anonymous.h,v 1.4 2001-05-27 02:21:37 rjkaes Exp $ * * See 'anonymous.c' for a detailed description. * @@ -18,7 +18,9 @@ #ifndef _TINYPROXY_ANONYMOUS_H_ #define _TINYPROXY_ANONYMOUS_H_ -extern int new_anonymous(void); +#include "ternary.h" + +extern TERNARY new_anonymous(void); extern int anon_search(char *s); extern void anon_insert(char *s); |