From 1934e037e070231b773bf385057682c89bc23ad2 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 11 May 2022 17:23:57 +0000 Subject: Mark pw_error as __dead in prototype to match the function definition. From Matthew Martin. --- lib/libutil/util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libutil') 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 *); -- cgit v1.2.3