From c8f59c7b93e32e6bd1cd509559470b6a63c42408 Mon Sep 17 00:00:00 2001 From: Sean Bruno Date: Mon, 28 Oct 2013 02:36:34 +0000 Subject: [PATCH] Quiesce warning -Wmissing-variable-declarations from buildworld, which is slightly unnerving. In file included from ioctl.c:48: /var/tmp/home/sbruno/bsd/head/tmp/usr/include/dev/lmc/if_lmc.h:939:13: warning: no previous extern declaration for non-static variable 'ssi_cables' [-Wmissing-variable-declarations] const char *ssi_cables[] = --- sys/dev/lmc/if_lmc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/lmc/if_lmc.h b/sys/dev/lmc/if_lmc.h index f3c19479556..e89c739d46f 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! */ -const char *ssi_cables[] = +static const char *ssi_cables[] = { "V.10/EIA423", "V.11/EIA530A",