summaryrefslogtreecommitdiff
path: root/lib/libutil
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2022-05-11 17:23:57 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2022-05-11 17:23:57 +0000
commit1934e037e070231b773bf385057682c89bc23ad2 (patch)
treecf7cda8c5a5849f0feb4f21100462b596b60f9b3 /lib/libutil
parent595e5a59475006e728fd86a362e40ef151d270c8 (diff)
Mark pw_error as __dead in prototype to match the function definition.
From Matthew Martin.
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libutil/util.h b/lib/libutil/util.h
index dd64f478e23..bfc702fbc39 100644
--- a/lib/libutil/util.h
+++ b/lib/libutil/util.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.h,v 1.37 2022/04/20 14:00:19 millert Exp $ */
+/* $OpenBSD: util.h,v 1.38 2022/05/11 17:23:56 millert Exp $ */
/* $NetBSD: util.h,v 1.2 1996/05/16 07:00:22 thorpej Exp $ */
/*-
@@ -97,7 +97,7 @@ void pw_edit(int, const char *);
void pw_prompt(void);
void pw_copy(int, int, const struct passwd *, const struct passwd *);
int pw_scan(char *, struct passwd *, int *);
-void pw_error(const char *, int, int);
+__dead void pw_error(const char *, int, int);
int getptmfd(void);
int openpty(int *, int *, char *, const struct termios *,
const struct winsize *);