summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2002-07-28 16:23:28 +0000
committerdwmalone <dwmalone@FreeBSD.org>2002-07-28 16:23:28 +0000
commit8e2ebdedb2bf3b82ca9e27e56e79a712d6885914 (patch)
tree4bfdbbad9cd9351aedf5a8c7c4ae8fdcd303c0a9 /usr.bin
parent3f2a3935bb98bfde22fdb6d8a0c06d5a86632ee3 (diff)
downloadFreeBSD-src-8e2ebdedb2bf3b82ca9e27e56e79a712d6885914.zip
FreeBSD-src-8e2ebdedb2bf3b82ca9e27e56e79a712d6885914.tar.gz
Add enough consts to keep everyone happy.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/units/units.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/units/units.c b/usr.bin/units/units.c
index e789a17..9ca5cda 100644
--- a/usr.bin/units/units.c
+++ b/usr.bin/units/units.c
@@ -379,7 +379,7 @@ addunit(struct unittype * theunit, char *toadd, int flip)
int
compare(const void *item1, const void *item2)
{
- return strcmp(*(const char **) item1, *(const char **) item2);
+ return strcmp(*(const char * const *)item1, *(const char * const *)item2);
}
OpenPOWER on IntegriCloud