summaryrefslogtreecommitdiff
path: root/netlib.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 /netlib.c
parent156c9fb299e44c691e0bc972408a59b813b63bd9 (diff)
downloadgpsd-464b4d3e4a4ec77cecf0e6f8fa818b76fb949146.tar.gz
Suppress compiler warnings and do splint cleanup. All regression tests pass.
Diffstat (limited to 'netlib.c')
-rw-r--r--netlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netlib.c b/netlib.c
index d83d6a63..82f0e3b2 100644
--- a/netlib.c
+++ b/netlib.c
@@ -127,7 +127,7 @@ socket_t netlib_connectsock(int af, const char *host, const char *service,
/*@+mustfreefresh +usedef@*/
-char /*@observer@*/ *netlib_errstr(const int err)
+const char /*@observer@*/ *netlib_errstr(const int err)
{
switch (err) {
case NL_NOSERVICE: