summaryrefslogtreecommitdiffhomepage
path: root/src/ternary.c
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2001-10-25 17:27:39 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2001-10-25 17:27:39 +0000
commit4ac03908fcb4966d44b816f1a828d5e237912f3d (patch)
treea3f6e1753d30339b05edb01228613cc445a7664e /src/ternary.c
parent722a7d2142347a9fabd32ebc0fc6b9d94de492e2 (diff)
Header reorganization. Basically all system headers are now included in
tinyproxy.h and all the other files include the tinyproxy.h header. This moves all the dependancy issues into one file.
Diffstat (limited to 'src/ternary.c')
-rw-r--r--src/ternary.c22
1 files changed, 5 insertions, 17 deletions
diff --git a/src/ternary.c b/src/ternary.c
index dfc423a..f4f0dc4 100644
--- a/src/ternary.c
+++ b/src/ternary.c
@@ -1,4 +1,4 @@
-/* $Id: ternary.c,v 1.10 2001-09-08 18:58:02 rjkaes Exp $
+/* $Id: ternary.c,v 1.11 2001-10-25 17:27:39 rjkaes Exp $
*
* This module creates a Ternary Search Tree which can store both string
* keys, and arbitrary data for each key. It works similar to a hash, and
@@ -21,23 +21,11 @@
* General Public License for more details.
*/
-#if defined HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include "tinyproxy.h"
-#if defined HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
-#include <ctype.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "log.h"
-#include "ternary.h"
-#include "tinyproxy.h"
-#include "utils.h"
+#include "log.h"
+#include "ternary.h"
+#include "utils.h"
/*
* Macros for the tree structures (limits)