summaryrefslogtreecommitdiff
path: root/hex.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-04-20 13:15:43 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-04-20 13:15:43 -0400
commit464b4d3e4a4ec77cecf0e6f8fa818b76fb949146 (patch)
treec7c630cfddeee42aea4006543ab1f58484130463 /hex.c
parent156c9fb299e44c691e0bc972408a59b813b63bd9 (diff)
downloadgpsd-464b4d3e4a4ec77cecf0e6f8fa818b76fb949146.tar.gz
Suppress compiler warnings and do splint cleanup. All regression tests pass.
Diffstat (limited to 'hex.c')
-rw-r--r--hex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hex.c b/hex.c
index 5b7a673f..ef67f06b 100644
--- a/hex.c
+++ b/hex.c
@@ -8,7 +8,7 @@
#include "gpsd.h"
-char /*@ observer @*/ *gpsd_hexdump(char *binbuf, size_t binbuflen)
+const char /*@ observer @*/ *gpsd_hexdump(char *binbuf, size_t binbuflen)
{
char *cp;
bool printable = true;