From d3a435e53c94ec25b4ae5fa2614f49ef8884e08a Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 5 Jan 2016 22:26:58 -0600 Subject: Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable format checking, and fix up format checking complaints. Added out(type, value) function to stat to avoid a zillion printf typecasts. --- lib/portability.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/portability.h') diff --git a/lib/portability.h b/lib/portability.h index f2f98069..eadd9961 100644 --- a/lib/portability.h +++ b/lib/portability.h @@ -11,12 +11,8 @@ #ifdef __GNUC__ #define noreturn __attribute__((noreturn)) -#if CFG_TOYBOX_DEBUG #define printf_format __attribute__((format(printf, 1, 2))) #else -#define printf_format -#endif -#else #define noreturn #define printf_format #endif -- cgit v1.2.3