Date: Thu, 27 Jun 2013 10:42:10 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r252302 - head/sbin/nvmecontrol Message-ID: <201306271042.r5RAgAtH000333@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Thu Jun 27 10:42:09 2013 New Revision: 252302 URL: http://svnweb.freebsd.org/changeset/base/252302 Log: Fix build. Modified: head/sbin/nvmecontrol/logpage.c head/sbin/nvmecontrol/nvmecontrol.c Modified: head/sbin/nvmecontrol/logpage.c ============================================================================== --- head/sbin/nvmecontrol/logpage.c Thu Jun 27 09:30:09 2013 (r252301) +++ head/sbin/nvmecontrol/logpage.c Thu Jun 27 10:42:09 2013 (r252302) @@ -227,7 +227,7 @@ print_log_firmware(void *buf, uint32_t s } } -struct logpage_function { +static struct logpage_function { uint8_t log_page; print_fn_t fn; } logfuncs[] = { Modified: head/sbin/nvmecontrol/nvmecontrol.c ============================================================================== --- head/sbin/nvmecontrol/nvmecontrol.c Thu Jun 27 09:30:09 2013 (r252301) +++ head/sbin/nvmecontrol/nvmecontrol.c Thu Jun 27 10:42:09 2013 (r252302) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306271042.r5RAgAtH000333>