mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOSKRNL] Sync some INIT_FUNCTION (#2824)
- Sync some INIT_FUNCTION with how they are used and what is already
specified in the headers.
Addendum to commit 85e5b5be
(r49445).
- KdbpGetCommandLineSettings(): Remove INIT_FUNCTION.
Fix MSVC 2015 x86 custom build:
"...\ntoskrnl\kdbg\kdb.c(1699): error C2983: 'KdbpGetCommandLineSettings': all declarations must have an identical __declspec(code_seg(...))"
And may also fix obscure bugs when entering into the KDBG debugger.
This commit is contained in:
parent
b20f815126
commit
cf510c3e64
5 changed files with 4 additions and 2 deletions
2
ntoskrnl/cache/fssup.c
vendored
2
ntoskrnl/cache/fssup.c
vendored
|
@ -77,6 +77,7 @@ LIST_ENTRY CcpAllSharedCacheMaps;
|
|||
|
||||
/* FUNCTIONS ******************************************************************/
|
||||
|
||||
INIT_FUNCTION
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
CcInitializeCacheManager(VOID)
|
||||
|
@ -107,6 +108,7 @@ CcInitializeCacheManager(VOID)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
INIT_FUNCTION
|
||||
VOID
|
||||
NTAPI
|
||||
CcPfInitializePrefetcher(VOID)
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
//INIT_FUNCTION
|
||||
PSECURITY_DESCRIPTOR
|
||||
NTAPI
|
||||
CmpHiveRootSecurityDescriptor(VOID)
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
RTL_SIZEOF_THROUGH_FIELD(LOADER_PARAMETER_EXTENSION, AcpiTableSize)
|
||||
|
||||
/* Temporary hack */
|
||||
INIT_FUNCTION
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
MmArmInitSystem(
|
||||
|
|
|
@ -1691,7 +1691,6 @@ continue_execution:
|
|||
return ContinueType;
|
||||
}
|
||||
|
||||
INIT_FUNCTION
|
||||
VOID
|
||||
NTAPI
|
||||
KdbpGetCommandLineSettings(
|
||||
|
|
|
@ -46,6 +46,7 @@ GENERIC_MAPPING ObpSymbolicLinkMapping =
|
|||
PDEVICE_MAP ObSystemDeviceMap = NULL;
|
||||
ULONG ObpTraceLevel = 0;
|
||||
|
||||
INIT_FUNCTION
|
||||
VOID
|
||||
NTAPI
|
||||
PsInitializeQuotaSystem(VOID);
|
||||
|
|
Loading…
Reference in a new issue