summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-01-13 08:43:08 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-01-13 08:43:08 -0500
commit52d4e56c518adf59c3469b1d79eda7e4f56e7f5f (patch)
tree44faaf38168f94a551b3a85894b13f63f33d0ba0
parentfdec3632fa69a680f776cbcc11f6db7af1d774f2 (diff)
downloadgpsd-52d4e56c518adf59c3469b1d79eda7e4f56e7f5f.tar.gz
More deheader testing. All regression tests pass.
-rw-r--r--cgps.c1
-rw-r--r--driver_evermore.c1
-rw-r--r--driver_geostar.c1
-rw-r--r--driver_superstar2.c1
-rw-r--r--driver_ubx.c1
-rw-r--r--driver_zodiac.c1
-rw-r--r--gpsd.c1
-rw-r--r--gpsmon.c1
-rw-r--r--gpspipe.c2
-rw-r--r--gpsutils.c1
-rw-r--r--isgps.c1
-rw-r--r--libgpsd_core.c1
-rw-r--r--monitor_sirf.c1
-rw-r--r--netlib.c1
-rw-r--r--ntpshm.c1
-rw-r--r--test_packet.c1
16 files changed, 13 insertions, 4 deletions
diff --git a/cgps.c b/cgps.c
index b9a7782a..55c3ff3a 100644
--- a/cgps.c
+++ b/cgps.c
@@ -81,6 +81,7 @@
#include <sys/time.h> /* for select() */
#include <stdio.h>
#include <stdlib.h>
+#include <stdbool.h>
#include <string.h>
#include <math.h>
#include <errno.h>
diff --git a/driver_evermore.c b/driver_evermore.c
index 51eb0ad1..94026dc4 100644
--- a/driver_evermore.c
+++ b/driver_evermore.c
@@ -115,6 +115,7 @@
*/
#include <stdio.h>
+#include <stdbool.h>
#include <string.h>
#include <math.h>
diff --git a/driver_geostar.c b/driver_geostar.c
index 7e66652f..7ed64847 100644
--- a/driver_geostar.c
+++ b/driver_geostar.c
@@ -11,6 +11,7 @@
*/
#include <sys/time.h> /* for select() */
+#include <stdbool.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
diff --git a/driver_superstar2.c b/driver_superstar2.c
index 6dc05d3c..e76b4c9c 100644
--- a/driver_superstar2.c
+++ b/driver_superstar2.c
@@ -3,6 +3,7 @@
* BSD terms apply: see the file COPYING in the distribution root for details.
*/
#include <stdio.h>
+#include <stdbool.h>
#include <time.h>
#include <string.h>
#include <math.h>
diff --git a/driver_ubx.c b/driver_ubx.c
index 1656fe3c..c9ad0359 100644
--- a/driver_ubx.c
+++ b/driver_ubx.c
@@ -7,6 +7,7 @@
*/
#include <stdio.h>
+#include <stdbool.h>
#include <assert.h>
#include <string.h>
#include <math.h>
diff --git a/driver_zodiac.c b/driver_zodiac.c
index b13dd64d..081bfc86 100644
--- a/driver_zodiac.c
+++ b/driver_zodiac.c
@@ -5,6 +5,7 @@
* BSD terms apply: see the file COPYING in the distribution root for details.
*/
#include <stdio.h>
+#include <stdbool.h>
#include <string.h>
#include <math.h>
#ifndef S_SPLINT_S
diff --git a/gpsd.c b/gpsd.c
index 509344f1..0dae2f52 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -18,7 +18,6 @@
#include <setjmp.h>
#include <assert.h>
#include <pwd.h>
-#include <grp.h>
#include <math.h>
#include <syslog.h>
#include <errno.h>
diff --git a/gpsmon.c b/gpsmon.c
index 6848f8c9..bc0c4a85 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -6,6 +6,7 @@
*/
#include <stdio.h>
#include <stdlib.h>
+#include <stdbool.h>
#include <string.h>
#include <ctype.h>
#include <assert.h>
diff --git a/gpspipe.c b/gpspipe.c
index 6d0d6092..bb3cadf5 100644
--- a/gpspipe.c
+++ b/gpspipe.c
@@ -27,12 +27,12 @@
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
+#include <stdbool.h>
#include <errno.h>
#include <string.h>
#include <strings.h>
#include <fcntl.h>
#include <termios.h>
-#include <assert.h>
#include <time.h>
#include <sys/time.h>
#ifndef S_SPLINT_S
diff --git a/gpsutils.c b/gpsutils.c
index 007ee2f4..b0901701 100644
--- a/gpsutils.c
+++ b/gpsutils.c
@@ -5,6 +5,7 @@
*/
#include <stdio.h>
#include <time.h>
+#include <sys/time.h>
#include <stdlib.h>
#include <math.h>
diff --git a/isgps.c b/isgps.c
index 5d8af4af..16d0cf35 100644
--- a/isgps.c
+++ b/isgps.c
@@ -58,6 +58,7 @@ BSD terms apply: see the file COPYING in the distribution root for details.
*****************************************************************************/
+#include <stdbool.h>
#include "gpsd.h"
#define MAG_SHIFT 6u
diff --git a/libgpsd_core.c b/libgpsd_core.c
index 28d140cf..73e12bdd 100644
--- a/libgpsd_core.c
+++ b/libgpsd_core.c
@@ -6,6 +6,7 @@
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
+#include <stdbool.h>
#include <libgen.h>
#include <math.h>
#include <string.h>
diff --git a/monitor_sirf.c b/monitor_sirf.c
index 5944fdd0..03bbab68 100644
--- a/monitor_sirf.c
+++ b/monitor_sirf.c
@@ -6,6 +6,7 @@
*
*/
#include <stdlib.h>
+#include <stdbool.h>
#include <string.h>
#include <math.h>
#include <assert.h>
diff --git a/netlib.c b/netlib.c
index 446a6dd8..00e0c2d0 100644
--- a/netlib.c
+++ b/netlib.c
@@ -2,7 +2,6 @@
* This file is Copyright (c) 2010 by the GPSD project
* BSD terms apply: see the file COPYING in the distribution root for details.
*/
-#include <sys/types.h>
#include <string.h>
#include <fcntl.h>
#ifndef S_SPLINT_S
diff --git a/ntpshm.c b/ntpshm.c
index 2b887093..159ae505 100644
--- a/ntpshm.c
+++ b/ntpshm.c
@@ -8,6 +8,7 @@
*/
#include <string.h>
+#include <stdbool.h>
#include <math.h>
#include <errno.h>
#ifndef S_SPLINT_S
diff --git a/test_packet.c b/test_packet.c
index 52e70175..77395c71 100644
--- a/test_packet.c
+++ b/test_packet.c
@@ -3,7 +3,6 @@
* BSD terms apply: see the file COPYING in the distribution root for details.
*/
#include <stdio.h>
-#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>