summaryrefslogtreecommitdiffstats
path: root/usr.sbin/hoststatectl/parser.c
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2006-12-16 12:47:18 +0000
committerreyk <reyk@openbsd.org>2006-12-16 12:47:18 +0000
commit4b88d3f76caea46c4fab3f27bceb687f512ca58c (patch)
treee4eb5577ea6cd4688cd2b3ab9557a5a3254cf803 /usr.sbin/hoststatectl/parser.c
parentAdopt FreeBSD's code for non-DEV_BSIZE formatted MSDOSFS filesystems. (diff)
downloadwireguard-openbsd-4b88d3f76caea46c4fab3f27bceb687f512ca58c.tar.xz
wireguard-openbsd-4b88d3f76caea46c4fab3f27bceb687f512ca58c.zip
knf, spacing
Diffstat (limited to 'usr.sbin/hoststatectl/parser.c')
-rw-r--r--usr.sbin/hoststatectl/parser.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/hoststatectl/parser.c b/usr.sbin/hoststatectl/parser.c
index a2247a907fc..52ccd7daafd 100644
--- a/usr.sbin/hoststatectl/parser.c
+++ b/usr.sbin/hoststatectl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.1 2006/12/16 11:45:07 reyk Exp $ */
+/* $OpenBSD: parser.c,v 1.2 2006/12/16 12:47:18 reyk Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -72,21 +72,21 @@ static const struct token t_main[] = {
static const struct token t_service[] = {
{NOTOKEN, "", NONE, NULL},
- {KEYWORD, "disable", SERV_DISABLE, t_service_id},
- {KEYWORD, "enable", SERV_ENABLE, t_service_id},
+ {KEYWORD, "disable", SERV_DISABLE, t_service_id},
+ {KEYWORD, "enable", SERV_ENABLE, t_service_id},
{ENDTOKEN, "", NONE, NULL}
};
static const struct token t_table[] = {
{NOTOKEN, "", NONE, NULL},
- {KEYWORD, "disable", TABLE_DISABLE, t_table_id},
+ {KEYWORD, "disable", TABLE_DISABLE, t_table_id},
{KEYWORD, "enable", TABLE_ENABLE, t_table_id},
{ENDTOKEN, "", NONE, NULL}
};
static const struct token t_host[] = {
{NOTOKEN, "", NONE, NULL},
- {KEYWORD, "disable", HOST_DISABLE, t_host_id},
+ {KEYWORD, "disable", HOST_DISABLE, t_host_id},
{KEYWORD, "enable", HOST_ENABLE, t_host_id},
{ENDTOKEN, "", NONE, NULL}
};