mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 21:44:31 +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
2
ntoskrnl/cache/fssup.c
vendored
2
ntoskrnl/cache/fssup.c
vendored
|
@ -77,6 +77,7 @@ LIST_ENTRY CcpAllSharedCacheMaps;
|
||||||
|
|
||||||
/* FUNCTIONS ******************************************************************/
|
/* FUNCTIONS ******************************************************************/
|
||||||
|
|
||||||
|
INIT_FUNCTION
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
NTAPI
|
NTAPI
|
||||||
CcInitializeCacheManager(VOID)
|
CcInitializeCacheManager(VOID)
|
||||||
|
@ -107,6 +108,7 @@ CcInitializeCacheManager(VOID)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
INIT_FUNCTION
|
||||||
VOID
|
VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
CcPfInitializePrefetcher(VOID)
|
CcPfInitializePrefetcher(VOID)
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
|
|
||||||
/* FUNCTIONS *****************************************************************/
|
/* FUNCTIONS *****************************************************************/
|
||||||
|
|
||||||
//INIT_FUNCTION
|
|
||||||
PSECURITY_DESCRIPTOR
|
PSECURITY_DESCRIPTOR
|
||||||
NTAPI
|
NTAPI
|
||||||
CmpHiveRootSecurityDescriptor(VOID)
|
CmpHiveRootSecurityDescriptor(VOID)
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
RTL_SIZEOF_THROUGH_FIELD(LOADER_PARAMETER_EXTENSION, AcpiTableSize)
|
RTL_SIZEOF_THROUGH_FIELD(LOADER_PARAMETER_EXTENSION, AcpiTableSize)
|
||||||
|
|
||||||
/* Temporary hack */
|
/* Temporary hack */
|
||||||
|
INIT_FUNCTION
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
NTAPI
|
NTAPI
|
||||||
MmArmInitSystem(
|
MmArmInitSystem(
|
||||||
|
|
|
@ -1691,7 +1691,6 @@ continue_execution:
|
||||||
return ContinueType;
|
return ContinueType;
|
||||||
}
|
}
|
||||||
|
|
||||||
INIT_FUNCTION
|
|
||||||
VOID
|
VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
KdbpGetCommandLineSettings(
|
KdbpGetCommandLineSettings(
|
||||||
|
|
|
@ -46,6 +46,7 @@ GENERIC_MAPPING ObpSymbolicLinkMapping =
|
||||||
PDEVICE_MAP ObSystemDeviceMap = NULL;
|
PDEVICE_MAP ObSystemDeviceMap = NULL;
|
||||||
ULONG ObpTraceLevel = 0;
|
ULONG ObpTraceLevel = 0;
|
||||||
|
|
||||||
|
INIT_FUNCTION
|
||||||
VOID
|
VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
PsInitializeQuotaSystem(VOID);
|
PsInitializeQuotaSystem(VOID);
|
||||||
|
|
Loading…
Reference in a new issue