diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2013-06-27 10:42:09 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2013-06-27 10:42:09 +0000 |
commit | 25fa33476bd6dca47f01c969cea456e566ed2305 (patch) | |
tree | ec5cf18c234b518ca70c9cb0ea6f312ef9121842 /sbin | |
parent | c68a57b8f62373f818cd4128306419b197cc3076 (diff) |
Fix build.
Notes
Notes:
svn path=/head/; revision=252302
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/nvmecontrol/logpage.c | 2 | ||||
-rw-r--r-- | 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; |