commit 4ed3dce4a39b7c7a138f507565be0e892082863d from: Omar Polo date: Wed Dec 21 11:52:29 2022 UTC fix #ifdef typo; add __dead to err functions in d444fd2 I forgot to rename HAVE_ERR to HAVE_ERRC too. commit - e4ccc7eb78371ac1ff3f120f29d8a2b15976b706 commit + 4ed3dce4a39b7c7a138f507565be0e892082863d blob - 0d56ff81a5dea90c1e7050620265bccdd11a85c3 blob + 5e6c9f944644ef321a4075a0bb7bdce7972a0b51 --- compat.h +++ compat.h @@ -108,10 +108,10 @@ int asprintf(char **, const char *, ...); int vasprintf(char **, const char *, ...); #endif -#ifndef HAVE_ERR -void err(int, const char *, ...); -void errc(int, int, const char *, ...); -void errx(int, const char *, ...); +#ifndef HAVE_ERRC +__dead void err(int, const char *, ...); +__dead void errc(int, int, const char *, ...); +__dead void errx(int, const char *, ...); void warn(const char *, ...); void warnc(int, const char *, ...); void warnx(const char *, ...);