From 7f729239c4bb884a13e00c42f6ad2bf2068059d0 Mon Sep 17 00:00:00 2001 From: glebius Date: Thu, 27 Jun 2013 10:42:09 +0000 Subject: [PATCH] Fix build. --- sbin/nvmecontrol/logpage.c | 2 +- sbin/nvmecontrol/nvmecontrol.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/nvmecontrol/logpage.c b/sbin/nvmecontrol/logpage.c index 9b698a8d845f..dbc0e6b4e789 100644 --- a/sbin/nvmecontrol/logpage.c +++ b/sbin/nvmecontrol/logpage.c @@ -227,7 +227,7 @@ print_log_firmware(void *buf, uint32_t size __unused) } } -struct logpage_function { +static struct logpage_function { uint8_t log_page; print_fn_t fn; } logfuncs[] = { diff --git a/sbin/nvmecontrol/nvmecontrol.c b/sbin/nvmecontrol/nvmecontrol.c index 8dc0e3616580..c7452a127f58 100644 --- a/sbin/nvmecontrol/nvmecontrol.c +++ b/sbin/nvmecontrol/nvmecontrol.c @@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$"); typedef void (*nvme_fn_t)(int argc, char *argv[]); -struct nvme_function { +static struct nvme_function { const char *name; nvme_fn_t fn; const char *usage;