mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 10:19:04 +00:00
WARNS-n and lint(1) silencer. Declare (const) strings properly as
'const char *'.
This commit is contained in:
parent
6ebd73f0f6
commit
0e5065e34c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90138
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue