summaryrefslogtreecommitdiffstats
path: root/sbin/bsdlabel
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-12-11 19:28:04 +0000
committered <ed@FreeBSD.org>2011-12-11 19:28:04 +0000
commit6abf118b1e7c05ea1f36254d415d94684a40723d (patch)
tree6d17c096263edf08e4979838992bdb5b645a5fa0 /sbin/bsdlabel
parent674bf2b68f0f155c671907ea51b74661962952ae (diff)
downloadFreeBSD-src-6abf118b1e7c05ea1f36254d415d94684a40723d.zip
FreeBSD-src-6abf118b1e7c05ea1f36254d415d94684a40723d.tar.gz
Add missing static keyword.
All global variables and functions are marked static. Simply because this is an enum, doesn't mean we can't do so as well.
Diffstat (limited to 'sbin/bsdlabel')
-rw-r--r--sbin/bsdlabel/bsdlabel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/bsdlabel/bsdlabel.c b/sbin/bsdlabel/bsdlabel.c
index ac83a41..7be9db2 100644
--- a/sbin/bsdlabel/bsdlabel.c
+++ b/sbin/bsdlabel/bsdlabel.c
@@ -130,7 +130,7 @@ static int labelsoffset = LABELSECTOR;
static int labeloffset = LABELOFFSET;
static int bbsize = BBSIZE;
-enum {
+static enum {
UNSPEC, EDIT, READ, RESTORE, WRITE, WRITEBOOT
} op = UNSPEC;
OpenPOWER on IntegriCloud