mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 04:53:33 +08:00
err.h: remove unused declarations
This commit is contained in:
@@ -94,22 +94,6 @@ __BEGIN_DECLS
|
|||||||
#define warn(...) PX4_WARN(__VA_ARGS__)
|
#define warn(...) PX4_WARN(__VA_ARGS__)
|
||||||
#define warnx(...) 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
|
__END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user