mirror of
https://github.com/open-goal/jak-project
synced 2026-09-10 20:29:51 -04:00
__attribute__ is technically not required. We can probably replace this in a cross platform way like with clang-tidy?
This commit is contained in:
@@ -25,8 +25,6 @@ extern Ptr<u8> MessBufArea;
|
||||
extern Ptr<u8> OutputBufArea;
|
||||
extern Ptr<u8> PrintBufArea;
|
||||
|
||||
#define __attribute__(A) /* do nothing */
|
||||
|
||||
/*!
|
||||
* Initialize global variables for kprint
|
||||
*/
|
||||
@@ -67,25 +65,25 @@ void output_segment_load(const char* name, Ptr<u8> 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.
|
||||
|
||||
Reference in New Issue
Block a user