From 792e9550ac5bdc8f338e9d340053549aa3aae463 Mon Sep 17 00:00:00 2001 From: markm Date: Sun, 3 Feb 2002 12:00:05 +0000 Subject: WARNS-n and lint(1) silencer. Declare (const) strings properly as 'const char *'. --- include/protocols/timed.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/protocols') 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", -- cgit v1.1