summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@openbsd.org>2017-08-31 13:22:55 -0300
committerGitHub <noreply@github.com>2017-08-31 13:22:55 -0300
commitb3c18264e4494b37743ac586eb05d4c54cf080ac (patch)
treefb1b4b6b34e6666f59f2ed6ff2244ca007983ba5 /lib/command.c
parent959768e8d049303c434bcb67e64d19bae65d073a (diff)
parent60466a63f2a3c1da8c99721ec018c8b73610b548 (diff)
Merge pull request #1079 from qlyoung/fix-style-a
*: fix style
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/command.c b/lib/command.c
index 24095de4f0..a303781370 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -1770,11 +1770,11 @@ int cmd_domainname_set(const char *domainname)
}
/* Hostname configuration */
-DEFUN (config_domainname,
- domainname_cmd,
- "domainname WORD",
- "Set system's domain name\n"
- "This system's domain name\n")
+DEFUN(config_domainname,
+ domainname_cmd,
+ "domainname WORD",
+ "Set system's domain name\n"
+ "This system's domain name\n")
{
struct cmd_token *word = argv[1];
@@ -1786,12 +1786,12 @@ DEFUN (config_domainname,
return cmd_domainname_set(word->arg);
}
-DEFUN (config_no_domainname,
- no_domainname_cmd,
- "no domainname [DOMAINNAME]",
- NO_STR
- "Reset system's domain name\n"
- "domain name of this router\n")
+DEFUN(config_no_domainname,
+ no_domainname_cmd,
+ "no domainname [DOMAINNAME]",
+ NO_STR
+ "Reset system's domain name\n"
+ "domain name of this router\n")
{
return cmd_domainname_set(NULL);
}