summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2011-11-06 19:01:59 +0000
committerEd Schouten <ed@FreeBSD.org>2011-11-06 19:01:59 +0000
commit6ea612c7abfa0ab9a3c2a15f196ca6ead9698ae2 (patch)
tree36a97b968aa9c08097f90a19905b1fdb2203df36
parentd938340a938e9e9c3f792901111163d994892285 (diff)
downloadsrc-test2-6ea612c7abfa0ab9a3c2a15f196ca6ead9698ae2.tar.gz
src-test2-6ea612c7abfa0ab9a3c2a15f196ca6ead9698ae2.zip
Notes
-rw-r--r--usr.sbin/memcontrol/memcontrol.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/memcontrol/memcontrol.c b/usr.sbin/memcontrol/memcontrol.c
index b6cb25f000e1..542bc3a1a647 100644
--- a/usr.sbin/memcontrol/memcontrol.c
+++ b/usr.sbin/memcontrol/memcontrol.c
@@ -39,8 +39,7 @@
#include <string.h>
#include <unistd.h>
-struct
-{
+static struct {
const char *name;
int val;
int kind;
@@ -67,8 +66,7 @@ static void clearfunc(int memfd, int argc, char *argv[]);
static void helpfunc(int memfd, int argc, char *argv[]);
static void help(const char *what);
-struct
-{
+static struct {
const char *cmd;
const char *desc;
void (*func)(int memfd, int argc, char *argv[]);