From 7d26a34825a8230aac821b3ab891b389684bbdd4 Mon Sep 17 00:00:00 2001 From: Jcw87 Date: Fri, 29 Dec 2023 20:52:07 -0800 Subject: [PATCH] stdarg.h --- include/JSystem/JUtility/JUTConsole.h | 3 +-- include/JSystem/JUtility/JUTDirectPrint.h | 2 +- include/JSystem/JUtility/JUTException.h | 3 +-- include/dolphin/os/OS.h | 2 +- include/m_Do/m_Do_printf.h | 2 +- src/JSystem/JUtility/JUTDbPrint.cpp | 3 +-- .../MSL/MSL_C/MSL_Common/Include/stdarg.h | 6 ++++++ 7 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 src/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/stdarg.h diff --git a/include/JSystem/JUtility/JUTConsole.h b/include/JSystem/JUtility/JUTConsole.h index 380235731..bc51fcd5b 100644 --- a/include/JSystem/JUtility/JUTConsole.h +++ b/include/JSystem/JUtility/JUTConsole.h @@ -4,8 +4,7 @@ #include "JSystem/JGadget/linklist.h" #include "JSystem/JKernel/JKRDisposer.h" #include "JSystem/JUtility/JUTFont.h" -#include "__va_arg.h" -#include "dolphin/types.h" +#include "stdarg.h" class JUTConsole : public JKRDisposer { public: diff --git a/include/JSystem/JUtility/JUTDirectPrint.h b/include/JSystem/JUtility/JUTDirectPrint.h index d55010456..0e77c6489 100644 --- a/include/JSystem/JUtility/JUTDirectPrint.h +++ b/include/JSystem/JUtility/JUTDirectPrint.h @@ -2,7 +2,7 @@ #define JUTDIRECTPRINT_H #include "JSystem/JUtility/TColor.h" -#include "__va_arg.h" +#include "stdarg.h" namespace std { diff --git a/include/JSystem/JUtility/JUTException.h b/include/JSystem/JUtility/JUTException.h index 2bf1ae899..3fea4e3af 100644 --- a/include/JSystem/JUtility/JUTException.h +++ b/include/JSystem/JUtility/JUTException.h @@ -3,10 +3,9 @@ #include "JSystem/JKernel/JKRThread.h" #include "JSystem/JUtility/JUTGamePad.h" -#include "__va_arg.h" +#include "stdarg.h" #include "dolphin/gx/GXEnum.h" #include "dolphin/os/OSError.h" -#include "dolphin/types.h" #include "global.h" typedef struct _GXRenderModeObj GXRenderModeObj; diff --git a/include/dolphin/os/OS.h b/include/dolphin/os/OS.h index 247a41741..5ae1b455c 100644 --- a/include/dolphin/os/OS.h +++ b/include/dolphin/os/OS.h @@ -1,7 +1,7 @@ #ifndef OS_H_ #define OS_H_ -#include "__va_arg.h" +#include "stdarg.h" #include "dolphin/dvd/dvd.h" #include "dolphin/os/OSAlarm.h" diff --git a/include/m_Do/m_Do_printf.h b/include/m_Do/m_Do_printf.h index a3f6b3a80..40587e282 100644 --- a/include/m_Do/m_Do_printf.h +++ b/include/m_Do/m_Do_printf.h @@ -1,7 +1,7 @@ #ifndef M_DO_M_DO_PRINTF_H #define M_DO_M_DO_PRINTF_H -#include "__va_arg.h" +#include "stdarg.h" #include "m_Do/m_Do_main.h" extern "C" { diff --git a/src/JSystem/JUtility/JUTDbPrint.cpp b/src/JSystem/JUtility/JUTDbPrint.cpp index a39373d67..37a6a7087 100644 --- a/src/JSystem/JUtility/JUTDbPrint.cpp +++ b/src/JSystem/JUtility/JUTDbPrint.cpp @@ -8,8 +8,7 @@ #include "JSystem/JKernel/JKRHeap.h" #include "JSystem/JUtility/JUTVideo.h" #include "stdio.h" -#include "__va_arg.h" -#include "dolphin/types.h" +#include "stdarg.h" /* 802C328C-802C32D4 .text __ct__10JUTDbPrintFP7JUTFontP7JKRHeap */ JUTDbPrint::JUTDbPrint(JUTFont* pFont, JKRHeap* pHeap) { diff --git a/src/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/stdarg.h b/src/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/stdarg.h new file mode 100644 index 000000000..22dfc1349 --- /dev/null +++ b/src/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/stdarg.h @@ -0,0 +1,6 @@ +#ifndef _MSL_COMMON_STDARG_H +#define _MSL_COMMON_STDARG_H + +#include "__va_arg.h" + +#endif /* _MSL_COMMON_STDARG_H */