summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/anonymous.c4
-rw-r--r--src/anonymous.h6
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);