]> git.armaanb.net Git - opendoas.git/commitdiff
checkconfig doesn't return anymore, noted by zhuk
authorTed Unangst <tedu@openbsd.org>
Sun, 26 Jul 2015 22:44:33 +0000 (22:44 +0000)
committerTed Unangst <tedu@openbsd.org>
Sun, 26 Jul 2015 22:44:33 +0000 (22:44 +0000)
doas.c

diff --git a/doas.c b/doas.c
index 93b79c712865c50bbc012a5ef4a26bc946f48fed..12c65302fd1fc4c04d2449f338f7a7bc834db1d7 100644 (file)
--- a/doas.c
+++ b/doas.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: doas.c,v 1.25 2015/07/26 19:49:11 zhuk Exp $ */
+/* $OpenBSD: doas.c,v 1.26 2015/07/26 20:47:01 espie 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)
 {