summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-01-12 03:58:27 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-01-12 03:58:27 -0500
commit706c2f2503e07660adcb4ec063fcca742304ad7e (patch)
treecda551457fe90c8aa070e134119133d3d9c340d2
parent45fe9fe8604141e6671c24bf67482aff603b923e (diff)
downloadgpsd-706c2f2503e07660adcb4ec063fcca742304ad7e.tar.gz
deheader cleanup.
-rw-r--r--driver_rtcm3.c2
-rw-r--r--gpspipe.c1
-rw-r--r--lcdgps.c1
-rw-r--r--libgpsd_core.c5
4 files changed, 3 insertions, 6 deletions
diff --git a/driver_rtcm3.c b/driver_rtcm3.c
index 58968a8e..137d1b32 100644
--- a/driver_rtcm3.c
+++ b/driver_rtcm3.c
@@ -27,12 +27,12 @@ BSD terms apply: see the file COPYING in the distribution root for details.
*****************************************************************************/
-#include <sys/types.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include "gpsd_config.h"
#ifndef S_SPLINT_S
+#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h> /* for ntohl(3) and friends */
#endif /* S_SPLINT_S */
diff --git a/gpspipe.c b/gpspipe.c
index 00b4e20c..6d0d6092 100644
--- a/gpspipe.c
+++ b/gpspipe.c
@@ -33,7 +33,6 @@
#include <fcntl.h>
#include <termios.h>
#include <assert.h>
-#include <signal.h>
#include <time.h>
#include <sys/time.h>
#ifndef S_SPLINT_S
diff --git a/lcdgps.c b/lcdgps.c
index 469f2cf9..0fd56459 100644
--- a/lcdgps.c
+++ b/lcdgps.c
@@ -50,7 +50,6 @@
#include <string.h>
#include <math.h>
#include <errno.h>
-#include <fcntl.h>
#include <signal.h>
#include <stdio.h>
#ifndef S_SPLINT_S
diff --git a/libgpsd_core.c b/libgpsd_core.c
index 8d50ef75..28d140cf 100644
--- a/libgpsd_core.c
+++ b/libgpsd_core.c
@@ -5,14 +5,13 @@
*/
#include <time.h>
#include <stdio.h>
+#include <stdlib.h>
+#include <libgen.h>
#include <math.h>
#include <string.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <libgen.h>
#ifndef S_SPLINT_S
#include <sys/wait.h>
#include <sys/socket.h>