diff --git a/game/kernel/kprint.h b/game/kernel/kprint.h index ae95925154..049a66d35c 100644 --- a/game/kernel/kprint.h +++ b/game/kernel/kprint.h @@ -25,8 +25,6 @@ extern Ptr MessBufArea; extern Ptr OutputBufArea; extern Ptr PrintBufArea; -#define __attribute__(A) /* do nothing */ - /*! * Initialize global variables for kprint */ @@ -67,25 +65,25 @@ void output_segment_load(const char* name, Ptr link_block, u32 flags); /*! * Print to the GOAL print buffer from C */ -void cprintf(const char* format, ...) __attribute__((format(printf, 1, 2))); +void cprintf(const char* format, ...); /*! * Print directly to the C stdout * The "k" parameter is ignored, so this is just like printf */ -void Msg(s32 k, const char* format, ...) __attribute__((format(printf, 2, 3))); +void Msg(s32 k, const char* format, ...); /*! * Print directly to the C stdout * This is identical to Msg. */ -void MsgWarn(const char* format, ...) __attribute__((format(printf, 1, 2))); +void MsgWarn(const char* format, ...); /*! * Print directly to the C stdout * This is identical to Msg. */ -void MsgErr(const char* format, ...) __attribute__((format(printf, 1, 2))); +void MsgErr(const char* format, ...); /*! * Reverse string in place.