diff --git a/src/modules/systemlib/err.h b/src/modules/systemlib/err.h index b47a041daa..506cfb9742 100644 --- a/src/modules/systemlib/err.h +++ b/src/modules/systemlib/err.h @@ -94,22 +94,6 @@ __BEGIN_DECLS #define warn(...) PX4_WARN(__VA_ARGS__) #define warnx(...) PX4_WARN(__VA_ARGS__) -// XXX not used anymore -#if 0 -__EXPORT void err(int eval, const char *fmt, ...) __attribute__((noreturn, format(printf, 2, 3))); -__EXPORT void verr(int eval, const char *fmt, va_list) __attribute__((noreturn, format(printf, 2, 0))); -__EXPORT void errc(int eval, int code, const char *fmt, ...) __attribute__((noreturn, format(printf, 3, 4))); -__EXPORT void verrc(int eval, int code, const char *fmt, va_list) __attribute__((noreturn, format(printf, 3, 0))); -__EXPORT void errx(int eval, const char *fmt, ...) __attribute__((noreturn, format(printf, 2, 3))); -__EXPORT void verrx(int eval, const char *fmt, va_list) __attribute__((noreturn, format(printf, 2, 0))); -__EXPORT void warn(const char *fmt, ...) __attribute__((format(printf, 1, 2))); -__EXPORT void vwarn(const char *fmt, va_list) __attribute__((format(printf, 1, 0))); -__EXPORT void warnc(int code, const char *fmt, ...) __attribute__((format(printf, 2, 3))); -__EXPORT void vwarnc(int code, const char *fmt, va_list) __attribute__((format(printf, 2, 0))); -__EXPORT void warnx(const char *fmt, ...) __attribute__((format(printf, 1, 2))); -__EXPORT void vwarnx(const char *fmt, va_list) __attribute__((format(printf, 1, 0))); -#endif - __END_DECLS #endif