summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2015-07-26 22:44:33 +0000
committertedu <tedu@openbsd.org>2015-07-26 22:44:33 +0000
commit0db858497ea6ea82809a85da5c4a7d3fe066ebe1 (patch)
tree698af20c9cd2c127057b4e5ef48dfb6674a2ddb2
parentremove unused variable (diff)
downloadwireguard-openbsd-0db858497ea6ea82809a85da5c4a7d3fe066ebe1.tar.xz
wireguard-openbsd-0db858497ea6ea82809a85da5c4a7d3fe066ebe1.zip
checkconfig doesn't return anymore, noted by zhuk
-rw-r--r--usr.bin/doas/doas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/doas/doas.c b/usr.bin/doas/doas.c
index 53f71cd92ab..e93a6bd7e83 100644
--- a/usr.bin/doas/doas.c
+++ b/usr.bin/doas/doas.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: doas.c,v 1.26 2015/07/26 20:47:01 espie Exp $ */
+/* $OpenBSD: doas.c,v 1.27 2015/07/26 22:44:33 tedu Exp $ */
/*
* Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
*
@@ -282,7 +282,7 @@ fail(void)
exit(1);
}
-static int
+static void __dead
checkconfig(const char *confpath, int argc, char **argv,
uid_t uid, gid_t *groups, int ngroups, uid_t target)
{