diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2022-05-11 17:23:57 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2022-05-11 17:23:57 +0000 |
commit | 1934e037e070231b773bf385057682c89bc23ad2 (patch) | |
tree | cf7cda8c5a5849f0feb4f21100462b596b60f9b3 | |
parent | 595e5a59475006e728fd86a362e40ef151d270c8 (diff) |
Mark pw_error as __dead in prototype to match the function definition.
From Matthew Martin.
-rw-r--r-- | lib/libutil/util.h | 4 |
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 *); |