mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[FASTFAT] Reduce the number of local declaration.
This commit is contained in:
parent
3dc4d408b2
commit
00e843b1ed
2 changed files with 8 additions and 14 deletions
|
@ -30,24 +30,10 @@
|
|||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#ifdef KDBG
|
||||
#include <ndk/kdfuncs.h>
|
||||
#include <reactos/kdros.h>
|
||||
#endif
|
||||
|
||||
#if defined(ALLOC_PRAGMA)
|
||||
#pragma alloc_text(INIT, DriverEntry)
|
||||
#endif
|
||||
|
||||
#ifdef KDBG
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
vfatKdbgHandler(
|
||||
IN PCHAR Command,
|
||||
IN ULONG Argc,
|
||||
IN PCH Argv[]);
|
||||
#endif
|
||||
|
||||
/* GLOBALS *****************************************************************/
|
||||
|
||||
PVFAT_GLOBAL_DATA VfatGlobalData;
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
#include <ntdddisk.h>
|
||||
#include <dos.h>
|
||||
#include <pseh/pseh2.h>
|
||||
#ifdef KDBG
|
||||
#include <ndk/kdfuncs.h>
|
||||
#include <reactos/kdros.h>
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define INIT_SECTION __attribute__((section ("INIT")))
|
||||
|
@ -1042,6 +1046,10 @@ DriverEntry(
|
|||
PDRIVER_OBJECT DriverObject,
|
||||
PUNICODE_STRING RegistryPath);
|
||||
|
||||
#ifdef KDBG
|
||||
/* kdbg.c */
|
||||
KDBG_CLI_ROUTINE vfatKdbgHandler;
|
||||
#endif
|
||||
|
||||
/* misc.c */
|
||||
|
||||
|
|
Loading…
Reference in a new issue