Tidy up unnecessary includes
This commit is contained in:
parent
55af66acb2
commit
545dab2c18
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue