[FASTFAT] Reduce the number of local declaration.

This commit is contained in:
Pierre Schweitzer 2018-04-29 12:33:53 +02:00
parent 3dc4d408b2
commit 00e843b1ed
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
2 changed files with 8 additions and 14 deletions

View file

@ -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;

View file

@ -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 */