From 8f13cf4a9609dd4dfe610c170cc704bc28893141 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Fri, 17 Jul 2015 23:58:03 -0600 Subject: [PATCH] include the missing return type for _warn --- include/err.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/err.h b/include/err.h index 4b02d8f..8b6b1f3 100644 --- a/include/err.h +++ b/include/err.h @@ -19,10 +19,10 @@ extern char *__progname; -static inline _warn(int err, const char *format, ...) +static inline void _warn(int err, const char *format, ...) __attribute__ ((__format__ (__printf__, 2, 3))); -static inline _warn(int err, const char *format, ...) +static inline void _warn(int err, const char *format, ...) { va_list args; va_start(args, format);