summaryrefslogtreecommitdiff
path: root/dbusexport.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-04-03 21:12:49 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-04-03 21:12:49 -0400
commit6cd6666dfd940dc4f5871d757d7019a670d5440d (patch)
tree23b212b21aa4a81e35eab714aa0874e3fc4be7b7 /dbusexport.c
parent9f2e0f6493bf54968c5e9b77f6325efdb0c6080b (diff)
downloadgpsd-6cd6666dfd940dc4f5871d757d7019a670d5440d.tar.gz
Give up on trying to splint the DBUS code. The headers confuse splint.
Also, splint production for scons. All regression tests pass.
Diffstat (limited to 'dbusexport.c')
-rw-r--r--dbusexport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbusexport.c b/dbusexport.c
index 9916c1b4..b04fb827 100644
--- a/dbusexport.c
+++ b/dbusexport.c
@@ -4,7 +4,7 @@
*/
#include <sys/types.h>
#include "gpsd_config.h"
-#ifdef DBUS_EXPORT_ENABLE
+#if defined(DBUS_EXPORT_ENABLE) && !defined(S_SPLINT_S)
#include "gpsd_dbus.h"
static DBusConnection *connection = NULL;
@@ -73,4 +73,4 @@ void send_dbus_fix(struct gps_device_t *channel)
dbus_message_unref(message);
}
-#endif /* DBUS_EXPORT_ENABLE */
+#endif /* defined(DBUS_EXPORT_ENABLE) && !defined(S_SPLINT_S) */