diff options
| author | erdgeist <> | 2008-12-05 21:28:40 +0000 |
|---|---|---|
| committer | erdgeist <> | 2008-12-05 21:28:40 +0000 |
| commit | 5fb58458f60c07a46f27167bcb210a3610c9c55a (patch) | |
| tree | df9484bc0dfed0464846811be5ba1e621a25df24 | |
| parent | 08d9c342d41d8714ba8f3c7e8e2199e77c4bdabc (diff) | |
Tidy up unnecessary includes
| -rw-r--r-- | ot_clean.c | 3 | ||||
| -rw-r--r-- | ot_vector.c | 1 | ||||
| -rw-r--r-- | scan_urlencoded_query.c | 5 | ||||
| -rw-r--r-- | scan_urlencoded_query.h | 2 |
4 files changed, 6 insertions, 5 deletions
| @@ -4,11 +4,8 @@ | |||
| 4 | $id$ */ | 4 | $id$ */ |
| 5 | 5 | ||
| 6 | /* System */ | 6 | /* System */ |
| 7 | #include <stdlib.h> | ||
| 8 | #include <string.h> | ||
| 9 | #include <pthread.h> | 7 | #include <pthread.h> |
| 10 | #include <unistd.h> | 8 | #include <unistd.h> |
| 11 | #include <stdint.h> | ||
| 12 | 9 | ||
| 13 | /* Libowfat */ | 10 | /* Libowfat */ |
| 14 | #include "io.h" | 11 | #include "io.h" |
diff --git a/ot_vector.c b/ot_vector.c index 1738884..6f786e7 100644 --- a/ot_vector.c +++ b/ot_vector.c | |||
| @@ -7,7 +7,6 @@ | |||
| 7 | #include <stdlib.h> | 7 | #include <stdlib.h> |
| 8 | #include <string.h> | 8 | #include <string.h> |
| 9 | #include <stdint.h> | 9 | #include <stdint.h> |
| 10 | #include <stdio.h> | ||
| 11 | 10 | ||
| 12 | /* Opentracker */ | 11 | /* Opentracker */ |
| 13 | #include "trackerlogic.h" | 12 | #include "trackerlogic.h" |
diff --git a/scan_urlencoded_query.c b/scan_urlencoded_query.c index 2bf957e..a17db2a 100644 --- a/scan_urlencoded_query.c +++ b/scan_urlencoded_query.c | |||
| @@ -3,9 +3,12 @@ | |||
| 3 | 3 | ||
| 4 | $id$ */ | 4 | $id$ */ |
| 5 | 5 | ||
| 6 | #include "scan.h" | 6 | /* Opentracker */ |
| 7 | #include "scan_urlencoded_query.h" | 7 | #include "scan_urlencoded_query.h" |
| 8 | 8 | ||
| 9 | /* Libwofat */ | ||
| 10 | #include "scan.h" | ||
| 11 | |||
| 9 | /* Idea is to do a in place replacement or guarantee at least | 12 | /* Idea is to do a in place replacement or guarantee at least |
| 10 | strlen( string ) bytes in deststring | 13 | strlen( string ) bytes in deststring |
| 11 | watch http://www.ietf.org/rfc/rfc2396.txt | 14 | watch http://www.ietf.org/rfc/rfc2396.txt |
diff --git a/scan_urlencoded_query.h b/scan_urlencoded_query.h index 86ce93e..7ff6e42 100644 --- a/scan_urlencoded_query.h +++ b/scan_urlencoded_query.h | |||
| @@ -6,6 +6,8 @@ | |||
| 6 | #ifndef __SCAN_URLENCODED_QUERY_H__ | 6 | #ifndef __SCAN_URLENCODED_QUERY_H__ |
| 7 | #define __SCAN_URLENCODED_QUERY_H__ | 7 | #define __SCAN_URLENCODED_QUERY_H__ |
| 8 | 8 | ||
| 9 | #include <sys/types.h> | ||
| 10 | |||
| 9 | typedef enum { | 11 | typedef enum { |
| 10 | SCAN_PATH = 1, | 12 | SCAN_PATH = 1, |
| 11 | SCAN_SEARCHPATH_PARAM = 2, | 13 | SCAN_SEARCHPATH_PARAM = 2, |
