Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Dec 2011 19:28:04 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228417 - head/sbin/bsdlabel
Message-ID:  <201112111928.pBBJS4Nb065648@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Sun Dec 11 19:28:04 2011
New Revision: 228417
URL: http://svn.freebsd.org/changeset/base/228417

Log:
  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.

Modified:
  head/sbin/bsdlabel/bsdlabel.c

Modified: head/sbin/bsdlabel/bsdlabel.c
==============================================================================
--- head/sbin/bsdlabel/bsdlabel.c	Sun Dec 11 19:22:42 2011	(r228416)
+++ head/sbin/bsdlabel/bsdlabel.c	Sun Dec 11 19:28:04 2011	(r228417)
@@ -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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112111928.pBBJS4Nb065648>