diff options
author | Jon Schlueter <jschlueter@navigationsolutions.com> | 2015-02-25 14:15:42 -0500 |
---|---|---|
committer | Jon Schlueter <jschlueter@navigationsolutions.com> | 2015-02-25 15:17:17 -0500 |
commit | a2b6276888257d66b42d622d86fceb0ae4496b9a (patch) | |
tree | fb3df96fef14b6dcab2dc7075555372b78b6839c /gpsmon.c | |
parent | 580c0604af467282042ba07cde425f3920a9ab56 (diff) | |
download | gpsd-a2b6276888257d66b42d622d86fceb0ae4496b9a.tar.gz |
Warning hunting cleanup in gpsmon.c for visiblize not always used
visiblize only used under PPS_ENABLE guard
Diffstat (limited to 'gpsmon.c')
-rw-r--r-- | gpsmon.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -168,6 +168,7 @@ static inline void report_unlock(void) { } * ******************************************************************************/ +#ifdef PPS_ENABLE static void visibilize(/*@out@*/char *buf2, size_t len2, const char *buf) /* string is mostly printable, dress up the nonprintables a bit */ { @@ -182,6 +183,7 @@ static void visibilize(/*@out@*/char *buf2, size_t len2, const char *buf) (void)snprintf(buf2 + strlen(buf2), 6, "\\x%02x", (unsigned)(*sp & 0xff)); } +#endif /* PPS_ENABLE */ /*@-compdef -mustdefine@*/ static void cond_hexdump(/*@out@*/char *buf2, size_t len2, |