X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/blobdiff_plain/dd68bf2eb2b421c06ed12a773d8bce2ff740d07b..0d9974ba1c7a707352f9d50f592b39b095de534d:/priv/helper.c diff --git a/priv/helper.c b/priv/helper.c index 6e5834ac..400fa28b 100644 --- a/priv/helper.c +++ b/priv/helper.c @@ -39,7 +39,7 @@ * Use: Reports a fatal error and quits. */ -static void lose(const char *excuse) +static void NORETURN lose(const char *excuse) { moan("helper process bailing out: %s; error: %s", excuse, @@ -62,7 +62,7 @@ static void lose(const char *excuse) #ifndef NTRACE -static void itrace(unsigned mask, const char *fmt, ...) +static void PRINTF_LIKE(2, 3) itrace(unsigned mask, const char *fmt, ...) { va_list ap; dstr d = DSTR_INIT; @@ -92,7 +92,7 @@ static void itrace(unsigned mask, const char *fmt, ...) #define A_END ((char *)0) -static void warn(const char *fmt, ...) +static void EXECL_LIKE(0) IGNORABLE warn(const char *fmt, ...) { va_list ap; dstr d = DSTR_INIT, dd = DSTR_INIT;