diff options
author | delphij <delphij@FreeBSD.org> | 2006-07-21 08:45:00 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2006-07-21 08:45:00 +0000 |
commit | 288a78f75639b72985ed0a47044c64362b7e864f (patch) | |
tree | 98ccba12a75d566eb743455f67e39fe01b1ee5a6 /sys/dev/lmc | |
parent | d0e4b9565d4fdb1bae61d31013f9f75e4498d602 (diff) | |
download | FreeBSD-src-288a78f75639b72985ed0a47044c64362b7e864f.zip FreeBSD-src-288a78f75639b72985ed0a47044c64362b7e864f.tar.gz |
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).
Diffstat (limited to 'sys/dev/lmc')
-rw-r--r-- | sys/dev/lmc/if_lmc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/lmc/if_lmc.h b/sys/dev/lmc/if_lmc.h index af901f7..85dfc55 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", |