Author: tfaber
Date: Sat Aug 6 15:04:08 2016
New Revision: 72138
URL:
http://svn.reactos.org/svn/reactos?rev=72138&view=rev
Log:
[NTOS:MM][USER32]
- Correctly handle/avoid C99-style inline semantics
CORE-11794
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/sysldr.c
trunk/reactos/win32ss/user/user32/include/ntwrapper.h
Modified: trunk/reactos/ntoskrnl/mm/ARM3/sysldr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/sysldr.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/sysldr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/sysldr.c [iso-8859-1] Sat Aug 6 15:04:08 2016
@@ -16,8 +16,8 @@
#define MODULE_INVOLVED_IN_ARM3
#include <mm/ARM3/miarm.h>
-/* GCC's incompetence strikes again */
-__inline
+static
+inline
VOID
sprintf_nt(IN PCHAR Buffer,
IN PCHAR Format,
Modified: trunk/reactos/win32ss/user/user32/include/ntwrapper.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/includ…
==============================================================================
--- trunk/reactos/win32ss/user/user32/include/ntwrapper.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/include/ntwrapper.h [iso-8859-1] Sat Aug 6 15:04:08
2016
@@ -1,7 +1,7 @@
#pragma once
#if defined(__GNUC__)
-#define EXTINLINE extern inline __attribute__((always_inline))
+#define EXTINLINE extern inline __attribute__((always_inline))
__attribute__((gnu_inline))
#elif defined(_MSC_VER)
#define EXTINLINE extern __forceinline
#else