From a58fa89df3b24aa5d39c82ff17df4b90e3183974 Mon Sep 17 00:00:00 2001 From: ReactOS Portable Systems Group Date: Wed, 15 Jul 2009 17:50:50 +0000 Subject: [PATCH] - Don't use "static" in the kernel. - Also prevents from getting a warning on ARM and other platforms that don't do PSEH2 since they have native exception support. svn path=/trunk/; revision=41977 --- reactos/ntoskrnl/mm/virtual.c | 3 +-- reactos/ntoskrnl/ps/thread.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/reactos/ntoskrnl/mm/virtual.c b/reactos/ntoskrnl/mm/virtual.c index c2cc437db68..98f1f15306d 100644 --- a/reactos/ntoskrnl/mm/virtual.c +++ b/reactos/ntoskrnl/mm/virtual.c @@ -20,8 +20,7 @@ /* PRIVATE FUNCTIONS **********************************************************/ -static -int +LONG MiGetExceptionInfo(EXCEPTION_POINTERS *ExceptionInfo, BOOLEAN * HaveBadAddress, ULONG_PTR * BadAddress) { PEXCEPTION_RECORD ExceptionRecord; diff --git a/reactos/ntoskrnl/ps/thread.c b/reactos/ntoskrnl/ps/thread.c index 3ed792e7447..f9fcffd7204 100644 --- a/reactos/ntoskrnl/ps/thread.c +++ b/reactos/ntoskrnl/ps/thread.c @@ -113,8 +113,7 @@ PspUserThreadStartup(IN PKSTART_ROUTINE StartRoutine, } } -static -int +LONG PspUnhandledExceptionInSystemThread(PEXCEPTION_POINTERS ExceptionPointers) { /* Print debugging information */