From: Andre Date: Sat, 8 Apr 2006 17:36:25 +0000 (+0200) Subject: further header cleanup X-Git-Tag: v0.2.12~104 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=09e1e9039b42f00bcfa64091700d611931618bca;p=paraslash.git further header cleanup --- diff --git a/fade.c b/fade.c index 33a6fa05..94b86696 100644 --- a/fade.c +++ b/fade.c @@ -22,6 +22,7 @@ #include "para.h" #include "fd.h" +#include #include #include #include /* EXIT_SUCCESS */ diff --git a/fd.c b/fd.c index 4928850e..dc22d147 100644 --- a/fd.c +++ b/fd.c @@ -20,6 +20,7 @@ #include "para.h" +#include #include #include "error.h" diff --git a/net.c b/net.c index 9ca5ceac..66d19fd4 100644 --- a/net.c +++ b/net.c @@ -20,9 +20,9 @@ #include "para.h" #include "net.h" +#include "string.h" #include #include "error.h" -#include "string.h" extern void (*crypt_function_recv)(unsigned long len, const unsigned char *indata, unsigned char *outdata); extern void (*crypt_function_send)(unsigned long len, const unsigned char *indata, unsigned char *outdata); diff --git a/para.h b/para.h index 6c853611..1ac056b3 100644 --- a/para.h +++ b/para.h @@ -23,23 +23,19 @@ #include #include #include -#include -#include #include #include -#include #include /* time(), localtime() */ #include #include #include #include -#include -#include -#include +#include #include #include -#include +#include #include /* needed by create_pf_socket */ +#include #include "gcc-compat.h" /* some internal constants */ @@ -219,6 +215,3 @@ __printf_2_3 void para_log(int, const char*, ...); p = para_realloc(p, size); \ } \ } - - - diff --git a/signal.c b/signal.c index 6de9adf8..2d40d49b 100644 --- a/signal.c +++ b/signal.c @@ -17,8 +17,13 @@ */ /** \file signal.c signal handling functions */ + + #include "para.h" #include "fd.h" + +#include + #include "error.h" static int signal_pipe[2]; diff --git a/string.c b/string.c index fba36e5f..056a414b 100644 --- a/string.c +++ b/string.c @@ -18,13 +18,16 @@ /** \file string.c memory allocation and string handling functions */ -#include /* gettimeofday */ #include "para.h" +#include "string.h" + +#include /* gettimeofday */ #include #include #include /* uname() */ +#include + #include "error.h" -#include "string.h" /** * paraslash's version of realloc()