From 12c4ea9abd16d04bb90b7415d19c095dd80e4d55 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Fri, 21 Jul 2006 08:45:00 +0000 Subject: 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). --- sys/dev/lmc/if_lmc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/lmc') diff --git a/sys/dev/lmc/if_lmc.h b/sys/dev/lmc/if_lmc.h index af901f7a6122..85dfc55bf2d3 100644 --- a/sys/dev/lmc/if_lmc.h +++ b/sys/dev/lmc/if_lmc.h @@ -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", -- cgit v1.3