From b60aa289abfa2d993854386a2d776bd354fa6be6 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Mon, 27 Aug 2012 18:55:37 +0000 Subject: [PATCH] [PSEH2] * Make _SEH_DontInline() static inline. svn path=/trunk/; revision=57180 --- reactos/include/reactos/libs/pseh/pseh2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/include/reactos/libs/pseh/pseh2.h b/reactos/include/reactos/libs/pseh/pseh2.h index 6b1a35190db..2bf817faedd 100644 --- a/reactos/include/reactos/libs/pseh/pseh2.h +++ b/reactos/include/reactos/libs/pseh/pseh2.h @@ -112,7 +112,7 @@ extern void __cdecl _SEH2Return(void); /* Prevent gcc from inlining functions that use SEH. */ #if ((__GNUC__ >= 4) && (__GNUC_MINOR__ >= 7)) -extern inline __attribute__((always_inline)) __attribute__((returns_twice)) void _SEH_DontInline() {} +static inline __attribute__((always_inline)) __attribute__((returns_twice)) void _SEH_DontInline() {} #define __PREVENT_GCC_FROM_INLINING_SEH_FUNCTIONS() _SEH_DontInline(); #else #define __PREVENT_GCC_FROM_INLINING_SEH_FUNCTIONS()