diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2012-09-07 06:24:26 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2012-09-07 06:24:26 -0400 |
commit | 620f7445dcacfbb740c55a9e4b891593c3f94910 (patch) | |
tree | e092711dae9ac1af540a2e5469493f13303248c1 /libgps_core.c | |
parent | 76b2aaba9575d60230387555822b18ceeb07353a (diff) | |
download | gpsd-620f7445dcacfbb740c55a9e4b891593c3f94910.tar.gz |
Nuke trailing whitespace in C source.
Diffstat (limited to 'libgps_core.c')
-rw-r--r-- | libgps_core.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libgps_core.c b/libgps_core.c index 9a4becc7..3f91ee68 100644 --- a/libgps_core.c +++ b/libgps_core.c @@ -57,7 +57,7 @@ void libgps_trace(int errlevel, const char *fmt, ...) #define CONDITIONALLY_UNUSED UNUSED #endif /* SOCKET_EXPORT_ENABLE */ -int gps_open(/*@null@*/const char *host, +int gps_open(/*@null@*/const char *host, /*@null@*/const char *port CONDITIONALLY_UNUSED, /*@out@*/ struct gps_data_t *gpsdata) { @@ -146,7 +146,7 @@ int gps_read(struct gps_data_t *gpsdata) #endif /* SOCKET_EXPORT_ENABLE */ /*@ +usedef +compdef +uniondef @*/ - libgps_debug_trace((DEBUG_CALLS, "gps_read() -> %d (%s)\n", + libgps_debug_trace((DEBUG_CALLS, "gps_read() -> %d (%s)\n", status, gps_maskdump(gpsdata->set))); return status; @@ -172,7 +172,7 @@ int gps_send(struct gps_data_t *gpsdata CONDITIONALLY_UNUSED, const char *fmt CO return status; } -int gps_stream(struct gps_data_t *gpsdata CONDITIONALLY_UNUSED, +int gps_stream(struct gps_data_t *gpsdata CONDITIONALLY_UNUSED, unsigned int flags CONDITIONALLY_UNUSED, /*@null@*/ void *d CONDITIONALLY_UNUSED) { @@ -218,7 +218,7 @@ bool gps_waiting(const struct gps_data_t *gpsdata CONDITIONALLY_UNUSED, int time return waiting; } -int gps_mainloop(struct gps_data_t *gpsdata, int timeout, +int gps_mainloop(struct gps_data_t *gpsdata, int timeout, void (*hook)(struct gps_data_t *gpsdata)) { int status = -1; @@ -240,7 +240,7 @@ int gps_mainloop(struct gps_data_t *gpsdata, int timeout, #endif /* SOCKET_EXPORT_ENABLE */ /*@ +usedef +compdef +uniondef @*/ - libgps_debug_trace((DEBUG_CALLS, "gps_mainloop() -> %d (%s)\n", + libgps_debug_trace((DEBUG_CALLS, "gps_mainloop() -> %d (%s)\n", status, gps_maskdump(gpsdata->set))); return status; @@ -248,7 +248,7 @@ int gps_mainloop(struct gps_data_t *gpsdata, int timeout, extern const char /*@observer@*/ *gps_errstr(const int err) { - /* + /* * We might add our own error codes in the future, e.g for * protocol compatibility checks */ |