aboutsummaryrefslogtreecommitdiff
path: root/sbin/bsdlabel/bsdlabel.c
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2011-12-11 19:28:04 +0000
committerEd Schouten <ed@FreeBSD.org>2011-12-11 19:28:04 +0000
commit1d23e44c17d90c474ae5937cd1c91660c47a08be (patch)
tree6d17c096263edf08e4979838992bdb5b645a5fa0 /sbin/bsdlabel/bsdlabel.c
parente120624d3217b2cb8b6080d3653e388c70a7e643 (diff)
downloadsrc-1d23e44c17d90c474ae5937cd1c91660c47a08be.tar.gz
src-1d23e44c17d90c474ae5937cd1c91660c47a08be.zip
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.
Notes
Notes: svn path=/head/; revision=228417
Diffstat (limited to 'sbin/bsdlabel/bsdlabel.c')
-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 ac83a41b00a8..7be9db2807ea 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;