summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-07-31 21:53:35 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-07-31 21:53:35 +0000
commit245837def3aec0ed575c4e9fc1522d98ca2142fc (patch)
tree7dd7de8170a157d1136138e09fe8afe3cf94b496 /lib
parent765a75f65b86b8787bba5896651b4f46c633b6f2 (diff)
mark pw_error() __dead since it exits
Diffstat (limited to 'lib')
-rw-r--r--lib/libutil/passwd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libutil/passwd.c b/lib/libutil/passwd.c
index 87d1776a218..fbd2d7308ea 100644
--- a/lib/libutil/passwd.c
+++ b/lib/libutil/passwd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: passwd.c,v 1.35 2002/06/27 22:21:50 deraadt Exp $ */
+/* $OpenBSD: passwd.c,v 1.36 2002/07/31 21:53:34 millert Exp $ */
/*
* Copyright (c) 1987, 1993, 1994, 1995
@@ -34,7 +34,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static const char rcsid[] = "$OpenBSD: passwd.c,v 1.35 2002/06/27 22:21:50 deraadt Exp $";
+static const char rcsid[] = "$OpenBSD: passwd.c,v 1.36 2002/07/31 21:53:34 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -598,7 +598,7 @@ fmt: warnx("corrupted entry");
return (1);
}
-void
+__dead void
pw_error(name, err, eval)
const char *name;
int err, eval;