diff options
| author | he <he@NetBSD.org> | 2005-07-05 21:57:08 +0000 |
|---|---|---|
| committer | he <he@NetBSD.org> | 2005-07-05 21:57:08 +0000 |
| commit | 8d673b50bf665a6d86c0af4b3deeaf2c26efadd8 (patch) | |
| tree | 0c435f97f4993a741c7a87fb67cd84d1f1a2cf3a /include/protocols | |
| parent | 886478a4b74f5d3d07681ed9c7b336062a449488 (diff) | |
Add const to the tsptype array, compiled under TSPTYPES.
Found while building for vax.
Diffstat (limited to 'include/protocols')
| -rw-r--r-- | include/protocols/timed.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/protocols/timed.h b/include/protocols/timed.h index b23337f2de0..68ff9171f00 100644 --- a/include/protocols/timed.h +++ b/include/protocols/timed.h @@ -1,4 +1,4 @@ -/* $NetBSD: timed.h,v 1.8 2003/08/07 09:44:13 agc Exp $ */ +/* $NetBSD: timed.h,v 1.9 2005/07/05 21:57:08 he Exp $ */ /* * Copyright (c) 1983, 1993 @@ -90,7 +90,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", |
