summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2002-02-03 12:00:05 +0000
committermarkm <markm@FreeBSD.org>2002-02-03 12:00:05 +0000
commit792e9550ac5bdc8f338e9d340053549aa3aae463 (patch)
treedf4dd6563bab71b51c54af59409a7e5bb5e67bfe /include
parent8110fb90ccbbceefe6a5207b6f7ef8ca66b1db80 (diff)
downloadFreeBSD-src-792e9550ac5bdc8f338e9d340053549aa3aae463.zip
FreeBSD-src-792e9550ac5bdc8f338e9d340053549aa3aae463.tar.gz
WARNS-n and lint(1) silencer. Declare (const) strings properly as
'const char *'.
Diffstat (limited to 'include')
-rw-r--r--include/protocols/timed.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/protocols/timed.h b/include/protocols/timed.h
index 75b27ed..faa44e4 100644
--- a/include/protocols/timed.h
+++ b/include/protocols/timed.h
@@ -94,7 +94,7 @@ struct tsp {
#define TSPTYPENUMBER 25
#ifdef TSPTYPES
-char *tsptype[TSPTYPENUMBER] =
+const char *tsptype[TSPTYPENUMBER] =
{ "ANY", "ADJTIME", "ACK", "MASTERREQ", "MASTERACK", "SETTIME", "MASTERUP",
"SLAVEUP", "ELECTION", "ACCEPT", "REFUSE", "CONFLICT", "RESOLVE", "QUIT",
"DATE", "DATEREQ", "DATEACK", "TRACEON", "TRACEOFF", "MSITE", "MSITEREQ",
OpenPOWER on IntegriCloud