Browse Source

Tidy up unnecessary includes

master
Dirk Engling 12 years ago
parent
commit
545dab2c18
4 changed files with 9 additions and 8 deletions
  1. +1
    -4
      ot_clean.c
  2. +1
    -2
      ot_vector.c
  3. +5
    -2
      scan_urlencoded_query.c
  4. +2
    -0
      scan_urlencoded_query.h

+ 1
- 4
ot_clean.c 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";

+ 1
- 2
ot_vector.c 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";

+ 5
- 2
scan_urlencoded_query.c 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";

+ 2
- 0
scan_urlencoded_query.h 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,


Loading…
Cancel
Save