From a1a5cdb7cad6951bc1c9fae25286d8c9d706c9ea Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Mon, 20 Jun 2005 19:46:09 +0000 Subject: [PATCH] Buid vfat(x)lib with NDK svn path=/trunk/; revision=16172 --- reactos/lib/fslib/vfatlib/fat12.c | 8 ++------ reactos/lib/fslib/vfatlib/fat16.c | 8 ++------ reactos/lib/fslib/vfatlib/fat32.c | 8 ++------ reactos/lib/fslib/vfatlib/vfatlib.c | 5 ----- reactos/lib/fslib/vfatlib/vfatlib.h | 9 ++++----- reactos/lib/fslib/vfatxlib/fatx.c | 8 ++------ reactos/lib/fslib/vfatxlib/vfatxlib.c | 5 ----- reactos/lib/fslib/vfatxlib/vfatxlib.h | 8 +++----- 8 files changed, 15 insertions(+), 44 deletions(-) diff --git a/reactos/lib/fslib/vfatlib/fat12.c b/reactos/lib/fslib/vfatlib/fat12.c index fb8cd7dd787..a86a4621b3a 100644 --- a/reactos/lib/fslib/vfatlib/fat12.c +++ b/reactos/lib/fslib/vfatlib/fat12.c @@ -8,14 +8,10 @@ * REVISIONS: * EK 05/04-2003 Created */ -#define NDEBUG -#include -#define NTOS_MODE_USER -#include -#include -#include #include "vfatlib.h" +#define NDEBUG +#include static ULONG GetShiftCount(ULONG Value) diff --git a/reactos/lib/fslib/vfatlib/fat16.c b/reactos/lib/fslib/vfatlib/fat16.c index a3f093a6817..9f6791b332e 100644 --- a/reactos/lib/fslib/vfatlib/fat16.c +++ b/reactos/lib/fslib/vfatlib/fat16.c @@ -8,14 +8,10 @@ * REVISIONS: * EK 05/04-2003 Created */ -#define NDEBUG -#include -#define NTOS_MODE_USER -#include -#include -#include #include "vfatlib.h" +#define NDEBUG +#include static ULONG GetShiftCount(ULONG Value) diff --git a/reactos/lib/fslib/vfatlib/fat32.c b/reactos/lib/fslib/vfatlib/fat32.c index a26a9a7c3ba..ed0c75c6943 100644 --- a/reactos/lib/fslib/vfatlib/fat32.c +++ b/reactos/lib/fslib/vfatlib/fat32.c @@ -8,14 +8,10 @@ * REVISIONS: * EK 05/04-2003 Created */ -#define NDEBUG -#include -#define NTOS_MODE_USER -#include -#include -#include #include "vfatlib.h" +#define NDEBUG +#include static ULONG GetShiftCount(ULONG Value) diff --git a/reactos/lib/fslib/vfatlib/vfatlib.c b/reactos/lib/fslib/vfatlib/vfatlib.c index a361375554a..3fc14ef36a4 100755 --- a/reactos/lib/fslib/vfatlib/vfatlib.c +++ b/reactos/lib/fslib/vfatlib/vfatlib.c @@ -7,16 +7,11 @@ * REVISIONS: * CSH 05/04-2003 Created */ -#define NTOS_MODE_USER -#include -#include -#include #include "vfatlib.h" #define NDEBUG #include - NTSTATUS VfatInitialize(VOID) { diff --git a/reactos/lib/fslib/vfatlib/vfatlib.h b/reactos/lib/fslib/vfatlib/vfatlib.h index 39138dba1fc..318dc433079 100755 --- a/reactos/lib/fslib/vfatlib/vfatlib.h +++ b/reactos/lib/fslib/vfatlib/vfatlib.h @@ -3,12 +3,11 @@ * PROJECT: ReactOS VFAT filesystem library * FILE: vfatlib.h */ -#define NDEBUG -#include + +#include +#include #define NTOS_MODE_USER -#include -#include -#include +#include #define SECTORSIZE 512 diff --git a/reactos/lib/fslib/vfatxlib/fatx.c b/reactos/lib/fslib/vfatxlib/fatx.c index 2948fa22d78..84eb9feb79c 100644 --- a/reactos/lib/fslib/vfatxlib/fatx.c +++ b/reactos/lib/fslib/vfatxlib/fatx.c @@ -6,14 +6,10 @@ * PROGRAMMERS: Hartmut Birr * REVISIONS: */ -#define NDEBUG -#include -#define NTOS_MODE_USER -#include -#include -#include #include "vfatxlib.h" +#define NDEBUG +#include static ULONG GetShiftCount(ULONG Value) diff --git a/reactos/lib/fslib/vfatxlib/vfatxlib.c b/reactos/lib/fslib/vfatxlib/vfatxlib.c index 9e514b6ba92..48a5c8bbe17 100644 --- a/reactos/lib/fslib/vfatxlib/vfatxlib.c +++ b/reactos/lib/fslib/vfatxlib/vfatxlib.c @@ -7,16 +7,11 @@ * REVISIONS: * CSH 05/04-2003 Created */ -#define NTOS_MODE_USER -#include -#include -#include #include "vfatxlib.h" #define NDEBUG #include - NTSTATUS VfatxInitialize(VOID) { diff --git a/reactos/lib/fslib/vfatxlib/vfatxlib.h b/reactos/lib/fslib/vfatxlib/vfatxlib.h index 33eaa343b75..bed3bfc0061 100644 --- a/reactos/lib/fslib/vfatxlib/vfatxlib.h +++ b/reactos/lib/fslib/vfatxlib/vfatxlib.h @@ -3,12 +3,10 @@ * PROJECT: ReactOS VFAT filesystem library * FILE: vfatxlib.h */ -#define NDEBUG -#include +#include +#include #define NTOS_MODE_USER -#include -#include -#include +#include typedef struct _FATX_BOOT_SECTOR {