diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-04-03 21:12:49 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-04-03 21:12:49 -0400 |
commit | 6cd6666dfd940dc4f5871d757d7019a670d5440d (patch) | |
tree | 23b212b21aa4a81e35eab714aa0874e3fc4be7b7 /gpxlogger.c | |
parent | 9f2e0f6493bf54968c5e9b77f6325efdb0c6080b (diff) | |
download | gpsd-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 'gpxlogger.c')
-rw-r--r-- | gpxlogger.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gpxlogger.c b/gpxlogger.c index c4ae6f84..608e4b4b 100644 --- a/gpxlogger.c +++ b/gpxlogger.c @@ -181,7 +181,7 @@ static void quit_handler(int signum) exit(0); } -#ifdef DBUS_EXPORT_ENABLE +#if defined(DBUS_EXPORT_ENABLE) && !defined(S_SPLINT_S) /************************************************************************** * * Doing it with D-Bus @@ -290,7 +290,7 @@ static int dbus_mainloop(void) return 0; } -#endif /* DBUS_EXPORT_ENABLE */ +#endif /* defined(DBUS_EXPORT_ENABLE) && !defined(S_SPLINT_S) */ #ifdef SOCKET_EXPORT_ENABLE /************************************************************************** @@ -379,9 +379,9 @@ struct method_t }; static struct method_t methods[] = { -#ifdef DBUS_EXPORT_ENABLE +#if defined(DBUS_EXPORT_ENABLE) && !defined(S_SPLINT_S) {"dbus", dbus_mainloop, "DBUS broadcast"}, -#endif /* DBUS_EXPORT_ENABLE */ +#endif /* defined(DBUS_EXPORT_ENABLE) && !defined(S_SPLINT_S) */ #ifdef SHM_EXPORT_ENABLE {"shm", shm_mainloop, "shared memory"}, #endif /* SOCKET_EXPORT_ENABLE */ |