[ros-diffs] [ros-arm-bringup] 41977: - 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.

ros-arm-bringup at svn.reactos.org ros-arm-bringup at svn.reactos.org
Wed Jul 15 19:50:50 CEST 2009


Author: ros-arm-bringup
Date: Wed Jul 15 19:50:50 2009
New Revision: 41977

URL: http://svn.reactos.org/svn/reactos?rev=41977&view=rev
Log:
- 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.


Modified:
    trunk/reactos/ntoskrnl/mm/virtual.c
    trunk/reactos/ntoskrnl/ps/thread.c

Modified: trunk/reactos/ntoskrnl/mm/virtual.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/virtual.c?rev=41977&r1=41976&r2=41977&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/mm/virtual.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/virtual.c [iso-8859-1] Wed Jul 15 19:50:50 2009
@@ -20,8 +20,7 @@
 
 /* PRIVATE FUNCTIONS **********************************************************/
 
-static
-int
+LONG
 MiGetExceptionInfo(EXCEPTION_POINTERS *ExceptionInfo, BOOLEAN * HaveBadAddress, ULONG_PTR * BadAddress)
 {
     PEXCEPTION_RECORD ExceptionRecord;

Modified: trunk/reactos/ntoskrnl/ps/thread.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ps/thread.c?rev=41977&r1=41976&r2=41977&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/ps/thread.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ps/thread.c [iso-8859-1] Wed Jul 15 19:50:50 2009
@@ -113,8 +113,7 @@
     }
 }
 
-static
-int
+LONG
 PspUnhandledExceptionInSystemThread(PEXCEPTION_POINTERS ExceptionPointers)
 {
     /* Print debugging information */



More information about the Ros-diffs mailing list