From 620f7445dcacfbb740c55a9e4b891593c3f94910 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 7 Sep 2012 06:24:26 -0400 Subject: Nuke trailing whitespace in C source. --- libgps_core.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libgps_core.c') 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 */ -- cgit v1.2.1