From 30883627ed12591e7d9d9d99f2e0e7d3bddc84fb Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 26 Jan 2018 17:40:13 +0000 Subject: abort() should be marked __dead2 since it won't return. --- stand/libsa/stand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stand/libsa/stand.h') diff --git a/stand/libsa/stand.h b/stand/libsa/stand.h index e66791347ca4..a46f90b5bd77 100644 --- a/stand/libsa/stand.h +++ b/stand/libsa/stand.h @@ -348,7 +348,7 @@ extern ev_unsethook_t env_nounset; /* refuse unset operation */ /* stdlib.h routines */ extern int abs(int a); -extern void abort(void); +extern void abort(void) __dead2; /* BCD conversions (undocumented) */ extern u_char const bcd2bin_data[]; -- cgit v1.2.3