These headers may be included in code that only allows strict C90 style comments.
Signed-off-by: Martin Storsjö <mar...@martin.st> --- mingw-w64-headers/crt/conio.h | 4 ++-- mingw-w64-headers/crt/corecrt.h | 2 +- mingw-w64-headers/crt/sec_api/stdio_s.h | 4 ++-- mingw-w64-headers/crt/setjmp.h | 2 +- mingw-w64-headers/crt/stdio.h | 4 ++-- mingw-w64-headers/crt/wchar.h | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/mingw-w64-headers/crt/conio.h b/mingw-w64-headers/crt/conio.h index a92ee0590..9471d9dc4 100644 --- a/mingw-w64-headers/crt/conio.h +++ b/mingw-w64-headers/crt/conio.h @@ -21,8 +21,8 @@ #define UCRTBASE_SCANF_LEGACY_WIDE_SPECIFIERS (0x0002) #define UCRTBASE_SCANF_LEGACY_MSVCRT_COMPATIBILITY (0x0004) -// Default wide printfs and scanfs to the legacy wide mode. Only code built -// with -D__USE_MINGW_ANSI_STDIO=1 will expect the standard behaviour. +/* Default wide printfs and scanfs to the legacy wide mode. Only code built + * with -D__USE_MINGW_ANSI_STDIO=1 will expect the standard behaviour. */ #ifndef UCRTBASE_PRINTF_DEFAULT_WIDE #define UCRTBASE_PRINTF_DEFAULT_WIDE UCRTBASE_PRINTF_LEGACY_WIDE_SPECIFIERS #endif diff --git a/mingw-w64-headers/crt/corecrt.h b/mingw-w64-headers/crt/corecrt.h index bd9a13450..8f9f6b42b 100644 --- a/mingw-w64-headers/crt/corecrt.h +++ b/mingw-w64-headers/crt/corecrt.h @@ -16,7 +16,7 @@ #endif #if !defined(_UCRT) && ((__MSVCRT_VERSION__ >= 0x1400) || (__MSVCRT_VERSION__ >= 0xE00 && __MSVCRT_VERSION__ < 0x1000)) -// Allow both 0x1400 and 0xE00 to identify UCRT +/* Allow both 0x1400 and 0xE00 to identify UCRT */ #define _UCRT #endif diff --git a/mingw-w64-headers/crt/sec_api/stdio_s.h b/mingw-w64-headers/crt/sec_api/stdio_s.h index 2dbc3fb18..bcbb615b0 100644 --- a/mingw-w64-headers/crt/sec_api/stdio_s.h +++ b/mingw-w64-headers/crt/sec_api/stdio_s.h @@ -121,7 +121,7 @@ extern "C" { return _Ret; } - // There is no _vsnscanf_s_l nor _vsnscanf_s + /* There is no _vsnscanf_s_l nor _vsnscanf_s */ __mingw_ovr int __cdecl _snscanf_s_l(const char *_Src, size_t _MaxCount, const char *_Format, _locale_t _Locale, ...) { __builtin_va_list _ArgList; @@ -141,7 +141,7 @@ extern "C" { return _Ret; } - // There is no _vsnscanf_l + /* There is no _vsnscanf_l */ __mingw_ovr int __cdecl _snscanf_l(const char *_Src, size_t _MaxCount, const char *_Format, _locale_t _Locale, ...) { __builtin_va_list _ArgList; diff --git a/mingw-w64-headers/crt/setjmp.h b/mingw-w64-headers/crt/setjmp.h index 276e9c2b1..eb772a34b 100644 --- a/mingw-w64-headers/crt/setjmp.h +++ b/mingw-w64-headers/crt/setjmp.h @@ -217,7 +217,7 @@ void * __cdecl __attribute__ ((__nothrow__)) mingw_getsp (void); # define _setjmp __intrinsic_setjmp # endif # elif defined(__aarch64__) - // ARM64 msvcrt.dll lacks _setjmp, only has _setjmpex. + /* ARM64 msvcrt.dll lacks _setjmp, only has _setjmpex. */ # define _setjmp _setjmpex # endif # ifndef _INC_SETJMPEX diff --git a/mingw-w64-headers/crt/stdio.h b/mingw-w64-headers/crt/stdio.h index 4e201e918..1284e0ba3 100644 --- a/mingw-w64-headers/crt/stdio.h +++ b/mingw-w64-headers/crt/stdio.h @@ -147,8 +147,8 @@ extern FILE (* __MINGW_IMP_SYMBOL(_iob))[]; /* A pointer to an array of FILE */ #define UCRTBASE_SCANF_LEGACY_WIDE_SPECIFIERS (0x0002) #define UCRTBASE_SCANF_LEGACY_MSVCRT_COMPATIBILITY (0x0004) -// Default wide printfs and scanfs to the legacy wide mode. Only code built -// with -D__USE_MINGW_ANSI_STDIO=1 will expect the standard behaviour. +/* Default wide printfs and scanfs to the legacy wide mode. Only code built + * with -D__USE_MINGW_ANSI_STDIO=1 will expect the standard behaviour. */ #ifndef UCRTBASE_PRINTF_DEFAULT_WIDE #define UCRTBASE_PRINTF_DEFAULT_WIDE UCRTBASE_PRINTF_LEGACY_WIDE_SPECIFIERS #endif diff --git a/mingw-w64-headers/crt/wchar.h b/mingw-w64-headers/crt/wchar.h index eaaadec3a..3fde2a6fb 100644 --- a/mingw-w64-headers/crt/wchar.h +++ b/mingw-w64-headers/crt/wchar.h @@ -247,8 +247,8 @@ extern FILE (* __MINGW_IMP_SYMBOL(_iob))[]; /* A pointer to an array of FILE */ #define UCRTBASE_SCANF_LEGACY_WIDE_SPECIFIERS (0x0002) #define UCRTBASE_SCANF_LEGACY_MSVCRT_COMPATIBILITY (0x0004) -// Default wide printfs and scanfs to the legacy wide mode. Only code built -// with -D__USE_MINGW_ANSI_STDIO=1 will expect the standard behaviour. +/* Default wide printfs and scanfs to the legacy wide mode. Only code built + * with -D__USE_MINGW_ANSI_STDIO=1 will expect the standard behaviour. */ #ifndef UCRTBASE_PRINTF_DEFAULT_WIDE #define UCRTBASE_PRINTF_DEFAULT_WIDE UCRTBASE_PRINTF_LEGACY_WIDE_SPECIFIERS #endif -- 2.17.1 _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public