summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2017-08-01 13:11:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2017-08-01 13:11:12 +0000
commitf53339b3196b1f53eedc035701bbbdd898f1dbf2 (patch)
tree0968c45c58fb45126432756965299d95f7bcbbe0 /usr.sbin
parent6684fb01ec8e789d4a50c7efd4eb9d3a52c02a74 (diff)
#if 0 unused chunk for now
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/switchctl/parser.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/switchctl/parser.c b/usr.sbin/switchctl/parser.c
index 913420a992c..adb42f33ce9 100644
--- a/usr.sbin/switchctl/parser.c
+++ b/usr.sbin/switchctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.7 2016/12/22 15:45:37 rzalamena Exp $ */
+/* $OpenBSD: parser.c,v 1.8 2017/08/01 13:11:11 deraadt Exp $ */
/*
* Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org>
@@ -68,7 +68,9 @@ static const struct token t_log[];
static const struct token t_load[];
static const struct token t_show[];
static const struct token t_switch[];
+#if 0
static const struct token t_switchreq[];
+#endif
static const struct token t_table[];
static const struct token t_dump[];
static const struct token t_flow[];
@@ -124,11 +126,13 @@ static const struct token t_switch[] = {
{ ENDTOKEN, "", NONE, NULL }
};
+#if 0
static const struct token t_switchreq[] = {
{ KEYWORD, "dump", NONE, t_dump },
{ KEYWORD, "flow", NONE, t_flow },
{ ENDTOKEN, "", NONE, NULL }
};
+#endif
static const struct token t_dump[] = {
{ KEYWORD, "desc", DUMP_DESC, NULL },