WARNS-n and lint(1) silencer. Declare (const) strings properly as
'const char *'.
This commit is contained in:
parent
8110fb90cc
commit
792e9550ac
@ -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…
x
Reference in New Issue
Block a user