diff options
author | Sadrul Habib Chowdhury <sadrul@users.sourceforge.net> | 2010-02-12 16:38:38 -0500 |
---|---|---|
committer | Sadrul Habib Chowdhury <sadrul@users.sourceforge.net> | 2010-02-12 16:38:38 -0500 |
commit | 9756ae6fb21fb6421e543173115059d36358c692 (patch) | |
tree | 19cbad0091678fba55ded598231717c69be8eab4 | |
parent | b040667633ecccb582426536936f07c8e005c87b (diff) | |
download | screen-9756ae6fb21fb6421e543173115059d36358c692.tar.gz |
Get rid of compile-time warnings.
-rw-r--r-- | src/acls.c | 3 | ||||
-rw-r--r-- | src/attacher.c | 2 | ||||
-rw-r--r-- | src/process.c | 4 |
3 files changed, 4 insertions, 5 deletions
@@ -26,10 +26,9 @@ **************************************************************** */ -#include <sys/types.h> - #include "config.h" +#include <sys/types.h> /* XXX: WHY IS THIS HERE?? :XXX */ diff --git a/src/attacher.c b/src/attacher.c index a416ec1..1bba70f 100644 --- a/src/attacher.c +++ b/src/attacher.c @@ -26,12 +26,12 @@ **************************************************************** */ +#include "config.h" #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <fcntl.h> #include <signal.h> -#include "config.h" #include "screen.h" #include "extern.h" diff --git a/src/process.c b/src/process.c index 42da498..128b0e2 100644 --- a/src/process.c +++ b/src/process.c @@ -26,6 +26,8 @@ **************************************************************** */ +#include "config.h" + #include <sys/types.h> #include <sys/stat.h> #include <signal.h> @@ -39,8 +41,6 @@ #endif -#include "config.h" - /* for solaris 2.1, Unixware (SVR4.2) and possibly others: */ #ifdef HAVE_STROPTS_H # include <sys/stropts.h> |