Tidy up unnecessary includes

This commit is contained in:
Dirk Engling 2008-12-05 21:28:40 +00:00
parent 55af66acb2
commit 545dab2c18
4 changed files with 9 additions and 8 deletions

View File

@ -4,11 +4,8 @@
$id$ */
/* System */
#include <stdlib.h>
#include <string.h>
#include <pthread.h>
#include <unistd.h>
#include <stdint.h>
/* Libowfat */
#include "io.h"
@ -132,4 +129,4 @@ void clean_deinit( void ) {
pthread_cancel( thread_id );
}
const char *g_version_clean_c = "$Source: /home/cvsroot/opentracker/ot_clean.c,v $: $Revision: 1.12 $\n";
const char *g_version_clean_c = "$Source: /home/cvsroot/opentracker/ot_clean.c,v $: $Revision: 1.13 $\n";

View File

@ -7,7 +7,6 @@
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <stdio.h>
/* Opentracker */
#include "trackerlogic.h"
@ -303,4 +302,4 @@ void vector_fixup_peers( ot_vector * vector ) {
vector->data = realloc( vector->data, vector->space * sizeof( ot_peer ) );
}
const char *g_version_vector_c = "$Source: /home/cvsroot/opentracker/ot_vector.c,v $: $Revision: 1.8 $\n";
const char *g_version_vector_c = "$Source: /home/cvsroot/opentracker/ot_vector.c,v $: $Revision: 1.9 $\n";

View File

@ -3,9 +3,12 @@
$id$ */
#include "scan.h"
/* Opentracker */
#include "scan_urlencoded_query.h"
/* Libwofat */
#include "scan.h"
/* Idea is to do a in place replacement or guarantee at least
strlen( string ) bytes in deststring
watch http://www.ietf.org/rfc/rfc2396.txt
@ -137,4 +140,4 @@ ssize_t scan_fixed_ip( char *data, size_t len, unsigned char ip[4] ) {
return len;
}
const char *g_version_scan_urlencoded_query_c = "$Source: /home/cvsroot/opentracker/scan_urlencoded_query.c,v $: $Revision: 1.27 $\n";
const char *g_version_scan_urlencoded_query_c = "$Source: /home/cvsroot/opentracker/scan_urlencoded_query.c,v $: $Revision: 1.28 $\n";

View File

@ -6,6 +6,8 @@
#ifndef __SCAN_URLENCODED_QUERY_H__
#define __SCAN_URLENCODED_QUERY_H__
#include <sys/types.h>
typedef enum {
SCAN_PATH = 1,
SCAN_SEARCHPATH_PARAM = 2,