The contents pointed by ssi_cables[] is never changed so explicitly

declare it as const char * instead of char *.

This change have no side impact to the code itself, and is a step
forward to WARNS=6 truss(1).
This commit is contained in:
Xin LI 2006-07-21 08:45:00 +00:00
parent af51d7bf57
commit 12c4ea9abd

View File

@ -936,7 +936,7 @@ struct ioctl
#define IOCTL_RESET_CNTRS 54 /* reset event counters */
/* storage for these strings is allocated here! */
char *ssi_cables[] =
const char *ssi_cables[] =
{
"V.10/EIA423",
"V.11/EIA530A",