From 910f281f6e2eeb46ce3f128faad4a3ddd51f474b Mon Sep 17 00:00:00 2001 From: Casper Hornstrup Date: Wed, 15 Jan 2003 21:24:36 +0000 Subject: [PATCH] 2003-01-15 Casper S. Hornstrup * lib/kernel32/k32.h: New file. * lib/kernel32/makefile (TARGET_CFLAGS): Add -I./. (TARGET_PCH): Set to k32.h. * lib/kernel32/except/except.c: Use . * lib/kernel32/file/backup.c: Ditto. * lib/kernel32/file/cnotify.c: Ditto. * lib/kernel32/file/copy.c: Ditto. * lib/kernel32/file/create.c: Ditto. * lib/kernel32/file/curdir.c: Ditto. * lib/kernel32/file/delete.c: Ditto. * lib/kernel32/file/deviceio.c: Ditto. * lib/kernel32/file/dir.c: Ditto. * lib/kernel32/file/dosdev.c: Ditto. * lib/kernel32/file/file.c: Ditto. * lib/kernel32/file/find.c: Ditto. * lib/kernel32/file/iocompl.c: Ditto. * lib/kernel32/file/lfile.c: Ditto. * lib/kernel32/file/lock.c: Ditto. * lib/kernel32/file/mailslot.c: Ditto. * lib/kernel32/file/move.c: Ditto. * lib/kernel32/file/npipe.c: Ditto. * lib/kernel32/file/pipe.c: Ditto. * lib/kernel32/file/rw.c: Ditto. * lib/kernel32/file/tape.c: Ditto. * lib/kernel32/file/volume.c: Ditto. * lib/kernel32/mem/global.c: Ditto. * lib/kernel32/mem/heap.c: Ditto. * lib/kernel32/mem/isbad.c: Ditto. * lib/kernel32/mem/local.c: Ditto. * lib/kernel32/mem/procmem.c: Ditto. * lib/kernel32/mem/section.c: Ditto. * lib/kernel32/mem/virtual.c: Ditto. * lib/kernel32/misc/atom.c: Ditto. * lib/kernel32/misc/comm.c: Ditto. * lib/kernel32/misc/console.c: Ditto. * lib/kernel32/misc/debug.c: Ditto. * lib/kernel32/misc/dllmain.c: Ditto. * lib/kernel32/misc/env.c: Ditto. * lib/kernel32/misc/error.c: Ditto. * lib/kernel32/misc/handle.c: Ditto. * lib/kernel32/misc/ldr.c: Ditto. * lib/kernel32/misc/profile.c: Ditto. * lib/kernel32/misc/res.c: Ditto. * lib/kernel32/misc/stubs.c: Ditto. * lib/kernel32/misc/sysinfo.c: Ditto. * lib/kernel32/misc/time.c: Ditto. * lib/kernel32/process/cmdline.c: Ditto. * lib/kernel32/process/create.c: Ditto. * lib/kernel32/process/proc.c: Ditto. * lib/kernel32/process/session.c: Ditto. * lib/kernel32/string/lstring.c: Ditto. * lib/kernel32/synch/critical.c: Ditto. * lib/kernel32/synch/event.c: Ditto. * lib/kernel32/synch/intrlck.c: Ditto. * lib/kernel32/synch/mutex.c: Ditto. * lib/kernel32/synch/sem.c: Ditto. * lib/kernel32/synch/timer.c: Ditto. * lib/kernel32/synch/wait.c: Ditto. * lib/kernel32/thread/fiber.c: Ditto. * lib/kernel32/thread/thread.c: Ditto. * lib/kernel32/thread/tls.c: Ditto. svn path=/trunk/; revision=4009 --- reactos/ChangeLog | 64 ++++++++++++++++++++++++++ reactos/lib/kernel32/except/except.c | 6 +-- reactos/lib/kernel32/file/backup.c | 11 +---- reactos/lib/kernel32/file/cnotify.c | 4 +- reactos/lib/kernel32/file/copy.c | 6 +-- reactos/lib/kernel32/file/create.c | 9 +--- reactos/lib/kernel32/file/curdir.c | 7 +-- reactos/lib/kernel32/file/delete.c | 7 +-- reactos/lib/kernel32/file/deviceio.c | 6 +-- reactos/lib/kernel32/file/dir.c | 9 +--- reactos/lib/kernel32/file/dosdev.c | 5 +- reactos/lib/kernel32/file/file.c | 8 +--- reactos/lib/kernel32/file/find.c | 7 +-- reactos/lib/kernel32/file/iocompl.c | 6 +-- reactos/lib/kernel32/file/lfile.c | 7 +-- reactos/lib/kernel32/file/lock.c | 10 ++-- reactos/lib/kernel32/file/mailslot.c | 8 ++-- reactos/lib/kernel32/file/move.c | 6 +-- reactos/lib/kernel32/file/npipe.c | 14 ++---- reactos/lib/kernel32/file/pipe.c | 6 +-- reactos/lib/kernel32/file/rw.c | 8 +--- reactos/lib/kernel32/file/tape.c | 8 +--- reactos/lib/kernel32/file/volume.c | 7 +-- reactos/lib/kernel32/makefile | 6 ++- reactos/lib/kernel32/mem/global.c | 6 +-- reactos/lib/kernel32/mem/heap.c | 5 +- reactos/lib/kernel32/mem/isbad.c | 4 +- reactos/lib/kernel32/mem/local.c | 6 +-- reactos/lib/kernel32/mem/procmem.c | 7 +-- reactos/lib/kernel32/mem/section.c | 7 ++- reactos/lib/kernel32/mem/virtual.c | 6 +-- reactos/lib/kernel32/misc/atom.c | 6 +-- reactos/lib/kernel32/misc/comm.c | 13 ++---- reactos/lib/kernel32/misc/console.c | 12 +---- reactos/lib/kernel32/misc/debug.c | 9 +--- reactos/lib/kernel32/misc/dllmain.c | 6 +-- reactos/lib/kernel32/misc/env.c | 9 +--- reactos/lib/kernel32/misc/error.c | 9 ++-- reactos/lib/kernel32/misc/handle.c | 6 +-- reactos/lib/kernel32/misc/ldr.c | 7 +-- reactos/lib/kernel32/misc/profile.c | 8 +--- reactos/lib/kernel32/misc/res.c | 9 ++-- reactos/lib/kernel32/misc/stubs.c | 4 +- reactos/lib/kernel32/misc/sysinfo.c | 9 ++-- reactos/lib/kernel32/misc/time.c | 7 +-- reactos/lib/kernel32/process/cmdline.c | 11 +---- reactos/lib/kernel32/process/create.c | 17 +------ reactos/lib/kernel32/process/proc.c | 15 +----- reactos/lib/kernel32/process/session.c | 4 +- reactos/lib/kernel32/string/lstring.c | 4 +- reactos/lib/kernel32/synch/critical.c | 5 +- reactos/lib/kernel32/synch/event.c | 6 +-- reactos/lib/kernel32/synch/intrlck.c | 2 +- reactos/lib/kernel32/synch/mutex.c | 8 ++-- reactos/lib/kernel32/synch/sem.c | 6 +-- reactos/lib/kernel32/synch/timer.c | 6 +-- reactos/lib/kernel32/synch/wait.c | 7 +-- reactos/lib/kernel32/thread/fiber.c | 5 +- reactos/lib/kernel32/thread/thread.c | 9 +--- reactos/lib/kernel32/thread/tls.c | 8 +--- 60 files changed, 197 insertions(+), 306 deletions(-) diff --git a/reactos/ChangeLog b/reactos/ChangeLog index d77c3954840..38d4cbefaa5 100644 --- a/reactos/ChangeLog +++ b/reactos/ChangeLog @@ -1,3 +1,67 @@ +2003-01-15 Casper S. Hornstrup + + * lib/kernel32/k32.h: New file. + * lib/kernel32/makefile (TARGET_CFLAGS): Add -I./. + (TARGET_PCH): Set to k32.h. + * lib/kernel32/except/except.c: Use . + * lib/kernel32/file/backup.c: Ditto. + * lib/kernel32/file/cnotify.c: Ditto. + * lib/kernel32/file/copy.c: Ditto. + * lib/kernel32/file/create.c: Ditto. + * lib/kernel32/file/curdir.c: Ditto. + * lib/kernel32/file/delete.c: Ditto. + * lib/kernel32/file/deviceio.c: Ditto. + * lib/kernel32/file/dir.c: Ditto. + * lib/kernel32/file/dosdev.c: Ditto. + * lib/kernel32/file/file.c: Ditto. + * lib/kernel32/file/find.c: Ditto. + * lib/kernel32/file/iocompl.c: Ditto. + * lib/kernel32/file/lfile.c: Ditto. + * lib/kernel32/file/lock.c: Ditto. + * lib/kernel32/file/mailslot.c: Ditto. + * lib/kernel32/file/move.c: Ditto. + * lib/kernel32/file/npipe.c: Ditto. + * lib/kernel32/file/pipe.c: Ditto. + * lib/kernel32/file/rw.c: Ditto. + * lib/kernel32/file/tape.c: Ditto. + * lib/kernel32/file/volume.c: Ditto. + * lib/kernel32/mem/global.c: Ditto. + * lib/kernel32/mem/heap.c: Ditto. + * lib/kernel32/mem/isbad.c: Ditto. + * lib/kernel32/mem/local.c: Ditto. + * lib/kernel32/mem/procmem.c: Ditto. + * lib/kernel32/mem/section.c: Ditto. + * lib/kernel32/mem/virtual.c: Ditto. + * lib/kernel32/misc/atom.c: Ditto. + * lib/kernel32/misc/comm.c: Ditto. + * lib/kernel32/misc/console.c: Ditto. + * lib/kernel32/misc/debug.c: Ditto. + * lib/kernel32/misc/dllmain.c: Ditto. + * lib/kernel32/misc/env.c: Ditto. + * lib/kernel32/misc/error.c: Ditto. + * lib/kernel32/misc/handle.c: Ditto. + * lib/kernel32/misc/ldr.c: Ditto. + * lib/kernel32/misc/profile.c: Ditto. + * lib/kernel32/misc/res.c: Ditto. + * lib/kernel32/misc/stubs.c: Ditto. + * lib/kernel32/misc/sysinfo.c: Ditto. + * lib/kernel32/misc/time.c: Ditto. + * lib/kernel32/process/cmdline.c: Ditto. + * lib/kernel32/process/create.c: Ditto. + * lib/kernel32/process/proc.c: Ditto. + * lib/kernel32/process/session.c: Ditto. + * lib/kernel32/string/lstring.c: Ditto. + * lib/kernel32/synch/critical.c: Ditto. + * lib/kernel32/synch/event.c: Ditto. + * lib/kernel32/synch/intrlck.c: Ditto. + * lib/kernel32/synch/mutex.c: Ditto. + * lib/kernel32/synch/sem.c: Ditto. + * lib/kernel32/synch/timer.c: Ditto. + * lib/kernel32/synch/wait.c: Ditto. + * lib/kernel32/thread/fiber.c: Ditto. + * lib/kernel32/thread/thread.c: Ditto. + * lib/kernel32/thread/tls.c: Ditto. + 2003-01-15 Casper S. Hornstrup * apps/testsets/Makefile (TEST_SETS): Remove ldr. diff --git a/reactos/lib/kernel32/except/except.c b/reactos/lib/kernel32/except/except.c index c5e4b352184..bca3ac23706 100644 --- a/reactos/lib/kernel32/except/except.c +++ b/reactos/lib/kernel32/except/except.c @@ -1,4 +1,4 @@ -/* $Id: except.c,v 1.9 2002/09/08 10:22:41 chorns Exp $ +/* $Id: except.c,v 1.10 2003/01/15 21:24:33 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -10,10 +10,8 @@ * Created 01/11/98 */ -#include -#include +#include -#include typedef LONG (STDCALL *LPTOP_LEVEL_EXCEPTION_FILTER)( struct _EXCEPTION_POINTERS *ExceptionInfo diff --git a/reactos/lib/kernel32/file/backup.c b/reactos/lib/kernel32/file/backup.c index 51952704b03..85d2c1bfa62 100644 --- a/reactos/lib/kernel32/file/backup.c +++ b/reactos/lib/kernel32/file/backup.c @@ -1,4 +1,4 @@ -/* $Id: backup.c,v 1.3 2002/09/08 10:22:41 chorns Exp $ +/* $Id: backup.c,v 1.4 2003/01/15 21:24:33 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -10,14 +10,7 @@ /* INCLUDES *****************************************************************/ -#include -#include -#include -#include -#include - -#include -#include +#include /* FUNCTIONS ****************************************************************/ diff --git a/reactos/lib/kernel32/file/cnotify.c b/reactos/lib/kernel32/file/cnotify.c index 07da7e5a730..378f20880d9 100644 --- a/reactos/lib/kernel32/file/cnotify.c +++ b/reactos/lib/kernel32/file/cnotify.c @@ -1,4 +1,4 @@ -/* $Id: cnotify.c,v 1.3 2001/03/31 01:17:29 dwelch Exp $ +/* $Id: cnotify.c,v 1.4 2003/01/15 21:24:33 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -9,7 +9,7 @@ * Created 01/11/98 */ -#include +#include WINBOOL STDCALL diff --git a/reactos/lib/kernel32/file/copy.c b/reactos/lib/kernel32/file/copy.c index e8a711dae1e..944d4e62d3d 100644 --- a/reactos/lib/kernel32/file/copy.c +++ b/reactos/lib/kernel32/file/copy.c @@ -1,4 +1,4 @@ -/* $Id: copy.c,v 1.12 2002/12/27 23:50:21 gvg Exp $ +/* $Id: copy.c,v 1.13 2003/01/15 21:24:33 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -12,12 +12,10 @@ /* INCLUDES ****************************************************************/ -#include -#include +#include #define NDEBUG #include -#include /* FUNCTIONS ****************************************************************/ diff --git a/reactos/lib/kernel32/file/create.c b/reactos/lib/kernel32/file/create.c index 1ed4a5a2e5d..8ad0cf57a04 100644 --- a/reactos/lib/kernel32/file/create.c +++ b/reactos/lib/kernel32/file/create.c @@ -1,4 +1,4 @@ -/* $Id: create.c,v 1.29 2002/09/08 10:22:41 chorns Exp $ +/* $Id: create.c,v 1.30 2003/01/15 21:24:33 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -15,15 +15,10 @@ /* INCLUDES *****************************************************************/ -#include -/* please FIXME: ddk/ntddk.h should be enough */ -#include -#include -#include +#include #define NDEBUG #include -#include /* FUNCTIONS ****************************************************************/ diff --git a/reactos/lib/kernel32/file/curdir.c b/reactos/lib/kernel32/file/curdir.c index 9c68c5aea23..b5023fa0702 100644 --- a/reactos/lib/kernel32/file/curdir.c +++ b/reactos/lib/kernel32/file/curdir.c @@ -1,4 +1,4 @@ -/* $Id: curdir.c,v 1.33 2002/11/07 02:52:37 robd Exp $ +/* $Id: curdir.c,v 1.34 2003/01/15 21:24:33 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -11,13 +11,10 @@ /* INCLUDES ******************************************************************/ -#include -#include -#include +#include #define NDEBUG #include -#include /* GLOBAL VARIABLES **********************************************************/ diff --git a/reactos/lib/kernel32/file/delete.c b/reactos/lib/kernel32/file/delete.c index ed67c231c92..2d22a4e6cb1 100644 --- a/reactos/lib/kernel32/file/delete.c +++ b/reactos/lib/kernel32/file/delete.c @@ -1,4 +1,4 @@ -/* $Id: delete.c,v 1.12 2002/09/08 10:22:41 chorns Exp $ +/* $Id: delete.c,v 1.13 2003/01/15 21:24:33 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -11,13 +11,10 @@ /* INCLUDES ****************************************************************/ -#include -#include -#include +#include #define NDEBUG #include -#include /* FUNCTIONS ****************************************************************/ diff --git a/reactos/lib/kernel32/file/deviceio.c b/reactos/lib/kernel32/file/deviceio.c index c6d3c59d84d..2b64d0f937d 100644 --- a/reactos/lib/kernel32/file/deviceio.c +++ b/reactos/lib/kernel32/file/deviceio.c @@ -1,4 +1,4 @@ -/* $Id: deviceio.c,v 1.10 2002/10/03 19:09:04 robd Exp $ +/* $Id: deviceio.c,v 1.11 2003/01/15 21:24:33 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -9,13 +9,11 @@ * Created 01/11/98 */ -#include -#include +#include #define NDEBUG //#define DBG #include -#include WINBOOL diff --git a/reactos/lib/kernel32/file/dir.c b/reactos/lib/kernel32/file/dir.c index 7c64605c3aa..4a6c05aff7d 100644 --- a/reactos/lib/kernel32/file/dir.c +++ b/reactos/lib/kernel32/file/dir.c @@ -1,4 +1,4 @@ -/* $Id: dir.c,v 1.32 2002/11/12 00:45:16 mdill Exp $ +/* $Id: dir.c,v 1.33 2003/01/15 21:24:33 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -15,15 +15,10 @@ /* INCLUDES ******************************************************************/ -#include -#include -#include -#include -#include +#include #define NDEBUG #include -#include /* FUNCTIONS *****************************************************************/ diff --git a/reactos/lib/kernel32/file/dosdev.c b/reactos/lib/kernel32/file/dosdev.c index 6ff85a47684..b517431ab0c 100644 --- a/reactos/lib/kernel32/file/dosdev.c +++ b/reactos/lib/kernel32/file/dosdev.c @@ -1,4 +1,4 @@ -/* $Id: dosdev.c,v 1.5 2002/09/08 10:22:41 chorns Exp $ +/* $Id: dosdev.c,v 1.6 2003/01/15 21:24:33 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -9,8 +9,7 @@ * Created 01/11/98 */ -#include -#include +#include WINBOOL diff --git a/reactos/lib/kernel32/file/file.c b/reactos/lib/kernel32/file/file.c index 1a7ad152153..157203b89ab 100644 --- a/reactos/lib/kernel32/file/file.c +++ b/reactos/lib/kernel32/file/file.c @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.39 2002/12/27 23:50:21 gvg Exp $ +/* $Id: file.c,v 1.40 2003/01/15 21:24:33 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -12,14 +12,10 @@ /* INCLUDES *****************************************************************/ -#include -#include -#include -#include +#include #define NDEBUG #include -#include /* GLOBALS ******************************************************************/ diff --git a/reactos/lib/kernel32/file/find.c b/reactos/lib/kernel32/file/find.c index 1575047cd84..9892412cb9f 100644 --- a/reactos/lib/kernel32/file/find.c +++ b/reactos/lib/kernel32/file/find.c @@ -1,4 +1,4 @@ -/* $Id: find.c,v 1.33 2002/09/13 19:03:40 hbirr Exp $ +/* $Id: find.c,v 1.34 2003/01/15 21:24:33 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -11,13 +11,10 @@ /* INCLUDES *****************************************************************/ -#include -#include -#include +#include #define NDEBUG #include -#include /* TYPES ********************************************************************/ diff --git a/reactos/lib/kernel32/file/iocompl.c b/reactos/lib/kernel32/file/iocompl.c index 6b7d33c65d9..45fead95ede 100644 --- a/reactos/lib/kernel32/file/iocompl.c +++ b/reactos/lib/kernel32/file/iocompl.c @@ -1,4 +1,4 @@ -/* $Id: iocompl.c,v 1.6 2002/09/08 10:22:42 chorns Exp $ +/* $Id: iocompl.c,v 1.7 2003/01/15 21:24:33 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -9,9 +9,7 @@ * Created 01/11/98 */ -#include -#include -#include +#include #include diff --git a/reactos/lib/kernel32/file/lfile.c b/reactos/lib/kernel32/file/lfile.c index 271ea60e52c..71f90b29f71 100644 --- a/reactos/lib/kernel32/file/lfile.c +++ b/reactos/lib/kernel32/file/lfile.c @@ -1,4 +1,4 @@ -/* $Id: lfile.c,v 1.7 2002/11/07 02:52:37 robd Exp $ +/* $Id: lfile.c,v 1.8 2003/01/15 21:24:34 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -9,10 +9,7 @@ * Created 01/11/98 */ -#undef WIN32_LEAN_AND_MEAN -#include -#include -#include +#include long diff --git a/reactos/lib/kernel32/file/lock.c b/reactos/lib/kernel32/file/lock.c index 053dce3a985..74c9afa1129 100644 --- a/reactos/lib/kernel32/file/lock.c +++ b/reactos/lib/kernel32/file/lock.c @@ -1,4 +1,4 @@ -/* $Id: lock.c,v 1.7 2002/09/08 10:22:42 chorns Exp $ +/* $Id: lock.c,v 1.8 2003/01/15 21:24:34 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -14,14 +14,10 @@ /* INCLUDES ****************************************************************/ -#include -#include -#include -#include +#include -//#define NDEBUG +#define NDEBUG #include -#include /* FUNCTIONS ****************************************************************/ diff --git a/reactos/lib/kernel32/file/mailslot.c b/reactos/lib/kernel32/file/mailslot.c index 11c7e09c4dc..91e0d564624 100644 --- a/reactos/lib/kernel32/file/mailslot.c +++ b/reactos/lib/kernel32/file/mailslot.c @@ -1,4 +1,4 @@ -/* $Id: mailslot.c,v 1.6 2002/09/08 10:22:42 chorns Exp $ +/* $Id: mailslot.c,v 1.7 2003/01/15 21:24:34 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -10,12 +10,10 @@ /* INCLUDES *****************************************************************/ -#include -#include -#include +#include +#define NDEBUG #include -#include /* FUNCTIONS ****************************************************************/ diff --git a/reactos/lib/kernel32/file/move.c b/reactos/lib/kernel32/file/move.c index d36d67af60c..1e65370463a 100644 --- a/reactos/lib/kernel32/file/move.c +++ b/reactos/lib/kernel32/file/move.c @@ -1,4 +1,4 @@ -/* $Id: move.c,v 1.8 2002/12/27 23:50:21 gvg Exp $ +/* $Id: move.c,v 1.9 2003/01/15 21:24:34 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -11,9 +11,7 @@ /* INCLUDES *****************************************************************/ -#include -#include -#include +#include #define NDEBUG #include diff --git a/reactos/lib/kernel32/file/npipe.c b/reactos/lib/kernel32/file/npipe.c index e1a5171b905..c42771c15e3 100644 --- a/reactos/lib/kernel32/file/npipe.c +++ b/reactos/lib/kernel32/file/npipe.c @@ -1,4 +1,4 @@ -/* $Id: npipe.c,v 1.13 2002/09/08 10:22:42 chorns Exp $ +/* $Id: npipe.c,v 1.14 2003/01/15 21:24:34 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -10,16 +10,10 @@ /* INCLUDES *****************************************************************/ -#include -#include -#include -#include -//#include -//#include -#include -#include +#include -//#define NDEBUG + +#define NDEBUG #include /* FUNCTIONS ****************************************************************/ diff --git a/reactos/lib/kernel32/file/pipe.c b/reactos/lib/kernel32/file/pipe.c index c0e62cc772c..9543ab54242 100644 --- a/reactos/lib/kernel32/file/pipe.c +++ b/reactos/lib/kernel32/file/pipe.c @@ -1,4 +1,4 @@ -/* $Id: pipe.c,v 1.7 2002/09/08 10:22:42 chorns Exp $ +/* $Id: pipe.c,v 1.8 2003/01/15 21:24:34 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -10,9 +10,9 @@ /* INCLUDES *****************************************************************/ -#include -#include +#include +#define NDEBUG #include /* GLOBALS ******************************************************************/ diff --git a/reactos/lib/kernel32/file/rw.c b/reactos/lib/kernel32/file/rw.c index c0255b6f808..bd669dc5285 100644 --- a/reactos/lib/kernel32/file/rw.c +++ b/reactos/lib/kernel32/file/rw.c @@ -1,4 +1,4 @@ -/* $Id: rw.c,v 1.19 2002/09/08 10:22:42 chorns Exp $ +/* $Id: rw.c,v 1.20 2003/01/15 21:24:34 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -11,14 +11,10 @@ /* INCLUDES ****************************************************************/ -#include -#include -#include -#include +#include #define NDEBUG #include -#include /* FUNCTIONS ****************************************************************/ diff --git a/reactos/lib/kernel32/file/tape.c b/reactos/lib/kernel32/file/tape.c index 9220a12ebe3..f2574bdc055 100644 --- a/reactos/lib/kernel32/file/tape.c +++ b/reactos/lib/kernel32/file/tape.c @@ -1,4 +1,4 @@ -/* $Id: tape.c,v 1.3 2002/09/08 10:22:42 chorns Exp $ +/* $Id: tape.c,v 1.4 2003/01/15 21:24:34 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -12,14 +12,10 @@ /* INCLUDES *****************************************************************/ -#include -#include -#include -#include +#include #define NDEBUG #include -#include /* FUNCTIONS ****************************************************************/ diff --git a/reactos/lib/kernel32/file/volume.c b/reactos/lib/kernel32/file/volume.c index 3124ad52111..ea37efdc6a3 100644 --- a/reactos/lib/kernel32/file/volume.c +++ b/reactos/lib/kernel32/file/volume.c @@ -1,4 +1,4 @@ -/* $Id: volume.c,v 1.27 2002/12/06 17:33:16 ekohl Exp $ +/* $Id: volume.c,v 1.28 2003/01/15 21:24:34 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -19,13 +19,10 @@ * Copyright 1996 Alexandre Julliard */ -#include -#include -#include +#include #define NDEBUG #include -#include #define MAX_DOS_DRIVES 26 diff --git a/reactos/lib/kernel32/makefile b/reactos/lib/kernel32/makefile index 1c120d958a7..1e196b9c204 100644 --- a/reactos/lib/kernel32/makefile +++ b/reactos/lib/kernel32/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.57 2003/01/07 17:29:09 robd Exp $ +# $Id: makefile,v 1.58 2003/01/15 21:24:33 chorns Exp $ PATH_TO_TOP = ../.. @@ -8,7 +8,7 @@ TARGET_NAME = kernel32 TARGET_BASE = 0x77f00000 -TARGET_CFLAGS = -DKERNEL32_BASE=$(TARGET_DLLBASE) +TARGET_CFLAGS = -DKERNEL32_BASE=$(TARGET_DLLBASE) -I./ TARGET_LFLAGS = -nostartfiles @@ -16,6 +16,8 @@ TARGET_SDKLIBS = ntdll.a TARGET_GCCLIBS = gcc +TARGET_PCH = k32.h + TARGET_OBJECTS = $(TARGET_NAME).o TARGET_CLEAN = except/*.o file/*.o mem/*.o misc/*.o nls/*.o \ diff --git a/reactos/lib/kernel32/mem/global.c b/reactos/lib/kernel32/mem/global.c index 5532043f429..8a9fea0a6e9 100644 --- a/reactos/lib/kernel32/mem/global.c +++ b/reactos/lib/kernel32/mem/global.c @@ -1,4 +1,4 @@ -/* $Id: global.c,v 1.10 2002/10/28 15:08:32 robd Exp $ +/* $Id: global.c,v 1.11 2003/01/15 21:24:34 chorns Exp $ * * Win32 Global/Local heap functions (GlobalXXX, LocalXXX). * These functions included in Win32 for compatibility with 16 bit Windows @@ -11,9 +11,7 @@ * NOTE: Only fixed memory is implemented!! */ -#include -#include -#include +#include #define NDEBUG #include diff --git a/reactos/lib/kernel32/mem/heap.c b/reactos/lib/kernel32/mem/heap.c index d71d06d0d49..53ada7dfa18 100644 --- a/reactos/lib/kernel32/mem/heap.c +++ b/reactos/lib/kernel32/mem/heap.c @@ -1,4 +1,4 @@ -/* $Id: heap.c,v 1.22 2002/11/10 13:33:26 robd Exp $ +/* $Id: heap.c,v 1.23 2003/01/15 21:24:34 chorns Exp $ * * kernel/heap.c * Copyright (C) 1996, Onno Hovers, All rights reserved @@ -27,8 +27,7 @@ * Put the type definitions of the heap in a seperate header. Boudewijn Dekker */ -#include -#include +#include #define NDEBUG #include diff --git a/reactos/lib/kernel32/mem/isbad.c b/reactos/lib/kernel32/mem/isbad.c index abe28093a3a..0aa171b4254 100644 --- a/reactos/lib/kernel32/mem/isbad.c +++ b/reactos/lib/kernel32/mem/isbad.c @@ -1,11 +1,11 @@ -/* $Id: isbad.c,v 1.4 2002/09/08 10:22:43 chorns Exp $ +/* $Id: isbad.c,v 1.5 2003/01/15 21:24:34 chorns Exp $ * * lib/kernel32/mem/isbad.c * * ReactOS Operating System * */ -#include +#include /* FIXME: Stubs. What is it for? */ UINT diff --git a/reactos/lib/kernel32/mem/local.c b/reactos/lib/kernel32/mem/local.c index ee2d1f19540..9b58e7251a4 100644 --- a/reactos/lib/kernel32/mem/local.c +++ b/reactos/lib/kernel32/mem/local.c @@ -1,4 +1,4 @@ -/* $Id: local.c,v 1.7 2002/09/08 10:22:43 chorns Exp $ +/* $Id: local.c,v 1.8 2003/01/15 21:24:34 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * Copyright (C) 1996, Onno Hovers, All rights reserved @@ -21,9 +21,7 @@ /* INCLUDES ****************************************************************/ -#include -#include -#include +#include #define NDEBUG #include diff --git a/reactos/lib/kernel32/mem/procmem.c b/reactos/lib/kernel32/mem/procmem.c index 708579e2bec..28932641fb7 100644 --- a/reactos/lib/kernel32/mem/procmem.c +++ b/reactos/lib/kernel32/mem/procmem.c @@ -1,4 +1,4 @@ -/* $Id: procmem.c,v 1.4 2002/09/08 10:22:43 chorns Exp $ +/* $Id: procmem.c,v 1.5 2003/01/15 21:24:34 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -9,10 +9,7 @@ /* INCLUDES ******************************************************************/ - -#include -#include -#include +#include /* FUNCTIONS *****************************************************************/ WINBOOL diff --git a/reactos/lib/kernel32/mem/section.c b/reactos/lib/kernel32/mem/section.c index e46f7c55062..345c92cfbeb 100644 --- a/reactos/lib/kernel32/mem/section.c +++ b/reactos/lib/kernel32/mem/section.c @@ -1,4 +1,4 @@ -/* $Id: section.c,v 1.17 2002/12/15 17:01:51 chorns Exp $ +/* $Id: section.c,v 1.18 2003/01/15 21:24:34 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -9,10 +9,9 @@ /* INCLUDES ******************************************************************/ -#include -#include -#include +#include +#define NDEBUG #include /* FUNCTIONS *****************************************************************/ diff --git a/reactos/lib/kernel32/mem/virtual.c b/reactos/lib/kernel32/mem/virtual.c index 5873dc723cc..230b0a1b8d7 100644 --- a/reactos/lib/kernel32/mem/virtual.c +++ b/reactos/lib/kernel32/mem/virtual.c @@ -1,4 +1,4 @@ -/* $Id: virtual.c,v 1.9 2002/09/08 10:22:43 chorns Exp $ +/* $Id: virtual.c,v 1.10 2003/01/15 21:24:34 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -9,9 +9,7 @@ /* INCLUDES ******************************************************************/ -#include -#include -#include +#include /* FUNCTIONS *****************************************************************/ diff --git a/reactos/lib/kernel32/misc/atom.c b/reactos/lib/kernel32/misc/atom.c index e855d84ec32..d2529607026 100644 --- a/reactos/lib/kernel32/misc/atom.c +++ b/reactos/lib/kernel32/misc/atom.c @@ -1,4 +1,4 @@ -/* $Id: atom.c,v 1.15 2002/09/08 10:22:43 chorns Exp $ +/* $Id: atom.c,v 1.16 2003/01/15 21:24:34 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -10,9 +10,7 @@ * Full rewrite 27/05/2001 */ -#include -#include -#include +#include #define NDEBUG #include diff --git a/reactos/lib/kernel32/misc/comm.c b/reactos/lib/kernel32/misc/comm.c index 3a0796b19ff..54e6fd13ae4 100644 --- a/reactos/lib/kernel32/misc/comm.c +++ b/reactos/lib/kernel32/misc/comm.c @@ -1,4 +1,4 @@ -/* $Id: comm.c,v 1.5 2002/10/03 18:26:53 robd Exp $ +/* $Id: comm.c,v 1.6 2003/01/15 21:24:34 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -12,17 +12,10 @@ * RDD (30/09/2002) implemented many function bodies to call serial driver. */ -#include -#include -#include -#include -#include -#include +#include -//#define NDEBUG -#define DBG +#define NDEBUG #include -#include WINBOOL diff --git a/reactos/lib/kernel32/misc/console.c b/reactos/lib/kernel32/misc/console.c index 076c3a768c9..ef28b482a9d 100644 --- a/reactos/lib/kernel32/misc/console.c +++ b/reactos/lib/kernel32/misc/console.c @@ -1,4 +1,4 @@ -/* $Id: console.c,v 1.49 2002/12/06 17:31:33 ekohl Exp $ +/* $Id: console.c,v 1.50 2003/01/15 21:24:34 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -13,18 +13,10 @@ /* INCLUDES ******************************************************************/ -#include -#include -#include -#include -#include - -#include -#include +#include #define NDEBUG #include -#include /* GLOBALS *******************************************************************/ diff --git a/reactos/lib/kernel32/misc/debug.c b/reactos/lib/kernel32/misc/debug.c index 17530ff93c3..5e46ba743dc 100644 --- a/reactos/lib/kernel32/misc/debug.c +++ b/reactos/lib/kernel32/misc/debug.c @@ -1,4 +1,4 @@ -/* $Id: debug.c,v 1.5 2002/09/08 10:22:43 chorns Exp $ +/* $Id: debug.c,v 1.6 2003/01/15 21:24:34 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -9,12 +9,7 @@ /* INCLUDES ******************************************************************/ -#include -#include -#include -#include -#include -#include +#include /* FUNCTIONS *****************************************************************/ diff --git a/reactos/lib/kernel32/misc/dllmain.c b/reactos/lib/kernel32/misc/dllmain.c index a8851201904..59251b35608 100644 --- a/reactos/lib/kernel32/misc/dllmain.c +++ b/reactos/lib/kernel32/misc/dllmain.c @@ -1,4 +1,4 @@ -/* $Id: dllmain.c,v 1.24 2002/11/14 18:21:05 chorns Exp $ +/* $Id: dllmain.c,v 1.25 2003/01/15 21:24:34 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -11,9 +11,7 @@ /* INCLUDES ******************************************************************/ -#define NTOS_MODE_USER -#include -#include +#include #define NDEBUG #include diff --git a/reactos/lib/kernel32/misc/env.c b/reactos/lib/kernel32/misc/env.c index 3cf639f1795..74d73bc0e4d 100644 --- a/reactos/lib/kernel32/misc/env.c +++ b/reactos/lib/kernel32/misc/env.c @@ -1,4 +1,4 @@ -/* $Id: env.c,v 1.17 2002/10/21 00:53:33 mdill Exp $ +/* $Id: env.c,v 1.18 2003/01/15 21:24:34 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -9,15 +9,10 @@ * Created 01/11/98 */ -#include -#include -#include -#include -#include +#include #define NDEBUG #include -#include /* FUNCTIONS ******************************************************************/ diff --git a/reactos/lib/kernel32/misc/error.c b/reactos/lib/kernel32/misc/error.c index 38ff1cba4fd..1e36c5319d5 100644 --- a/reactos/lib/kernel32/misc/error.c +++ b/reactos/lib/kernel32/misc/error.c @@ -1,14 +1,13 @@ -/* $Id: error.c,v 1.16 2002/09/08 10:22:44 chorns Exp $ +/* $Id: error.c,v 1.17 2003/01/15 21:24:34 chorns Exp $ * * reactos/lib/kernel32/misc/error.c * */ -#include -#include -// #define NDEBUG +#include + +#define NDEBUG #include -#include /* INTERNAL */ diff --git a/reactos/lib/kernel32/misc/handle.c b/reactos/lib/kernel32/misc/handle.c index 6c22ea0ea91..4d2cfbb95b4 100644 --- a/reactos/lib/kernel32/misc/handle.c +++ b/reactos/lib/kernel32/misc/handle.c @@ -1,4 +1,4 @@ -/* $Id: handle.c,v 1.8 2002/09/08 10:22:44 chorns Exp $ +/* $Id: handle.c,v 1.9 2003/01/15 21:24:35 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -11,12 +11,10 @@ /* INCLUDES ******************************************************************/ -#include -#include +#include #define NDEBUG #include -#include /* FUNCTIONS *****************************************************************/ diff --git a/reactos/lib/kernel32/misc/ldr.c b/reactos/lib/kernel32/misc/ldr.c index 792a742dc78..a0464b11475 100644 --- a/reactos/lib/kernel32/misc/ldr.c +++ b/reactos/lib/kernel32/misc/ldr.c @@ -1,4 +1,4 @@ -/* $Id: ldr.c,v 1.13 2002/09/08 10:22:44 chorns Exp $ +/* $Id: ldr.c,v 1.14 2003/01/15 21:24:35 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT : ReactOS user mode libraries @@ -7,13 +7,10 @@ * AUTHOR : Boudewijn Dekker */ -#include -#include -#include +#include #define NDEBUG #include -#include /* FUNCTIONS ****************************************************************/ diff --git a/reactos/lib/kernel32/misc/profile.c b/reactos/lib/kernel32/misc/profile.c index 8a124a42b72..07bb2160ea4 100644 --- a/reactos/lib/kernel32/misc/profile.c +++ b/reactos/lib/kernel32/misc/profile.c @@ -1,4 +1,4 @@ -/* $Id: profile.c,v 1.5 2002/09/08 10:22:44 chorns Exp $ +/* $Id: profile.c,v 1.6 2003/01/15 21:24:35 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -10,11 +10,7 @@ * Created 01/11/98 */ -#include -#include -#include -#include -//#include +#include /* FUNCTIONS *****************************************************************/ diff --git a/reactos/lib/kernel32/misc/res.c b/reactos/lib/kernel32/misc/res.c index 4cc6320827b..550e233772d 100644 --- a/reactos/lib/kernel32/misc/res.c +++ b/reactos/lib/kernel32/misc/res.c @@ -1,4 +1,4 @@ -/* $Id: res.c,v 1.11 2002/09/08 10:22:45 chorns Exp $ +/* $Id: res.c,v 1.12 2003/01/15 21:24:35 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT : ReactOS user mode libraries @@ -7,11 +7,10 @@ * AUTHOR : ??? */ -#include -#include -#include +#include + +#define NDEBUG #include -#include HRSRC diff --git a/reactos/lib/kernel32/misc/stubs.c b/reactos/lib/kernel32/misc/stubs.c index e1615e28360..7c3a092a5ca 100644 --- a/reactos/lib/kernel32/misc/stubs.c +++ b/reactos/lib/kernel32/misc/stubs.c @@ -1,9 +1,9 @@ -/* $Id: stubs.c,v 1.41 2003/01/07 17:29:09 robd Exp $ +/* $Id: stubs.c,v 1.42 2003/01/15 21:24:35 chorns Exp $ * * KERNEL32.DLL stubs (unimplemented functions) * Remove from this file, if you implement them. */ -#include +#include #define _OLE2NLS_IN_BUILD_ diff --git a/reactos/lib/kernel32/misc/sysinfo.c b/reactos/lib/kernel32/misc/sysinfo.c index c8a08655c44..eadb09fedf3 100644 --- a/reactos/lib/kernel32/misc/sysinfo.c +++ b/reactos/lib/kernel32/misc/sysinfo.c @@ -1,15 +1,12 @@ -/* $Id: sysinfo.c,v 1.5 2002/09/08 10:22:45 chorns Exp $ +/* $Id: sysinfo.c,v 1.6 2003/01/15 21:24:35 chorns Exp $ * * reactos/lib/kernel32/misc/sysinfo.c * */ -#include +#include +#define NDEBUG #include -#include - -#define WIN32_LEAN_AND_MEAN -#include #define PV_NT351 0x00030033 diff --git a/reactos/lib/kernel32/misc/time.c b/reactos/lib/kernel32/misc/time.c index f275e4f1919..196c2b2ef13 100644 --- a/reactos/lib/kernel32/misc/time.c +++ b/reactos/lib/kernel32/misc/time.c @@ -1,4 +1,4 @@ -/* $Id: time.c,v 1.18 2002/09/30 20:59:39 hbirr Exp $ +/* $Id: time.c,v 1.19 2003/01/15 21:24:35 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -12,10 +12,7 @@ /* INCLUDES ******************************************************************/ -#include -#include -#include -//#include +#include #define NDEBUG #include diff --git a/reactos/lib/kernel32/process/cmdline.c b/reactos/lib/kernel32/process/cmdline.c index 7ba43238393..054d625be52 100644 --- a/reactos/lib/kernel32/process/cmdline.c +++ b/reactos/lib/kernel32/process/cmdline.c @@ -1,4 +1,4 @@ -/* $Id: cmdline.c,v 1.15 2002/09/08 10:22:45 chorns Exp $ +/* $Id: cmdline.c,v 1.16 2003/01/15 21:24:35 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -11,14 +11,7 @@ /* INCLUDES ****************************************************************/ -#include -#include -#include -#include -#include -#include -#include -#include +#include #define NDEBUG #include diff --git a/reactos/lib/kernel32/process/create.c b/reactos/lib/kernel32/process/create.c index 5a4a88b4959..dd7eafc568b 100644 --- a/reactos/lib/kernel32/process/create.c +++ b/reactos/lib/kernel32/process/create.c @@ -1,4 +1,4 @@ -/* $Id: create.c,v 1.58 2003/01/07 17:29:08 robd Exp $ +/* $Id: create.c,v 1.59 2003/01/15 21:24:35 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -11,23 +11,10 @@ /* INCLUDES ****************************************************************/ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #define DBG #include -#include /* FUNCTIONS ****************************************************************/ diff --git a/reactos/lib/kernel32/process/proc.c b/reactos/lib/kernel32/process/proc.c index f33020359b0..a8ed9732a07 100644 --- a/reactos/lib/kernel32/process/proc.c +++ b/reactos/lib/kernel32/process/proc.c @@ -1,4 +1,4 @@ -/* $Id: proc.c,v 1.49 2003/01/15 20:05:52 robd Exp $ +/* $Id: proc.c,v 1.50 2003/01/15 21:24:35 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -11,18 +11,7 @@ /* INCLUDES ****************************************************************/ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #define NDEBUG diff --git a/reactos/lib/kernel32/process/session.c b/reactos/lib/kernel32/process/session.c index 80290c9ae9b..1eaf3bdc854 100644 --- a/reactos/lib/kernel32/process/session.c +++ b/reactos/lib/kernel32/process/session.c @@ -1,4 +1,4 @@ -/* $Id: session.c,v 1.3 2002/09/08 10:22:45 chorns Exp $ +/* $Id: session.c,v 1.4 2003/01/15 21:24:35 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -8,7 +8,7 @@ * UPDATE HISTORY: * 2001-12-07 created */ -#include +#include BOOL STDCALL ProcessIdToSessionId ( DWORD dwProcessId, diff --git a/reactos/lib/kernel32/string/lstring.c b/reactos/lib/kernel32/string/lstring.c index 855da679337..f3dfc7c0467 100644 --- a/reactos/lib/kernel32/string/lstring.c +++ b/reactos/lib/kernel32/string/lstring.c @@ -8,9 +8,7 @@ * Created 01/11/98 */ -#include -#include -#include +#include int diff --git a/reactos/lib/kernel32/synch/critical.c b/reactos/lib/kernel32/synch/critical.c index ecbbbd86eff..376e645a86b 100644 --- a/reactos/lib/kernel32/synch/critical.c +++ b/reactos/lib/kernel32/synch/critical.c @@ -1,4 +1,4 @@ -/* $Id: critical.c,v 1.12 2002/09/08 10:22:45 chorns Exp $ +/* $Id: critical.c,v 1.13 2003/01/15 21:24:36 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -10,8 +10,9 @@ /* INCLUDES ******************************************************************/ -#include +#include +#define NDEBUG #include diff --git a/reactos/lib/kernel32/synch/event.c b/reactos/lib/kernel32/synch/event.c index 9c9553c06b8..5702c74da51 100644 --- a/reactos/lib/kernel32/synch/event.c +++ b/reactos/lib/kernel32/synch/event.c @@ -1,4 +1,4 @@ -/* $Id: event.c,v 1.12 2002/09/08 10:22:45 chorns Exp $ +/* $Id: event.c,v 1.13 2003/01/15 21:24:36 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -11,12 +11,10 @@ /* INCLUDES *****************************************************************/ -#include -#include +#include #define NDEBUG #include -#include /* FUNCTIONS ****************************************************************/ diff --git a/reactos/lib/kernel32/synch/intrlck.c b/reactos/lib/kernel32/synch/intrlck.c index e09d75710db..85a6c4b4c58 100644 --- a/reactos/lib/kernel32/synch/intrlck.c +++ b/reactos/lib/kernel32/synch/intrlck.c @@ -28,7 +28,7 @@ * * ************************************************************************/ -#include +#include LONG STDCALL diff --git a/reactos/lib/kernel32/synch/mutex.c b/reactos/lib/kernel32/synch/mutex.c index 6fbfe071914..c12312106e0 100644 --- a/reactos/lib/kernel32/synch/mutex.c +++ b/reactos/lib/kernel32/synch/mutex.c @@ -1,4 +1,4 @@ -/* $Id: mutex.c,v 1.4 2002/09/08 10:22:45 chorns Exp $ +/* $Id: mutex.c,v 1.5 2003/01/15 21:24:36 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -11,11 +11,9 @@ /* INCLUDES *****************************************************************/ -#include -#include -#include -#include +#include +#define NDEBUG #include /* FUNCTIONS *****************************************************************/ diff --git a/reactos/lib/kernel32/synch/sem.c b/reactos/lib/kernel32/synch/sem.c index fdeabad464f..0a3a9297340 100644 --- a/reactos/lib/kernel32/synch/sem.c +++ b/reactos/lib/kernel32/synch/sem.c @@ -1,4 +1,4 @@ -/* $Id: sem.c,v 1.4 2002/09/08 10:22:45 chorns Exp $ +/* $Id: sem.c,v 1.5 2003/01/15 21:24:36 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -11,12 +11,10 @@ /* INCLUDES *****************************************************************/ -#include -#include +#include #define NDEBUG #include -#include /* FUNCTIONS ****************************************************************/ diff --git a/reactos/lib/kernel32/synch/timer.c b/reactos/lib/kernel32/synch/timer.c index cddd3113845..cee64322b9d 100644 --- a/reactos/lib/kernel32/synch/timer.c +++ b/reactos/lib/kernel32/synch/timer.c @@ -1,4 +1,4 @@ -/* $Id: timer.c,v 1.11 2002/09/08 10:22:45 chorns Exp $ +/* $Id: timer.c,v 1.12 2003/01/15 21:24:36 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -9,9 +9,7 @@ /* INCLUDES ******************************************************************/ -#include -#include -#include +#include #define NDEBUG #include diff --git a/reactos/lib/kernel32/synch/wait.c b/reactos/lib/kernel32/synch/wait.c index 70a5e57b122..72ec08868b2 100644 --- a/reactos/lib/kernel32/synch/wait.c +++ b/reactos/lib/kernel32/synch/wait.c @@ -1,4 +1,4 @@ -/* $Id: wait.c,v 1.18 2002/09/08 10:22:45 chorns Exp $ +/* $Id: wait.c,v 1.19 2003/01/15 21:24:36 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -11,10 +11,7 @@ /* INCLUDES *****************************************************************/ -#include -#include -#include -#include +#include #define NDEBUG #include diff --git a/reactos/lib/kernel32/thread/fiber.c b/reactos/lib/kernel32/thread/fiber.c index 2945184771d..a460ec31f19 100644 --- a/reactos/lib/kernel32/thread/fiber.c +++ b/reactos/lib/kernel32/thread/fiber.c @@ -1,11 +1,12 @@ -/* $Id: fiber.c,v 1.3 2002/09/08 10:22:46 chorns Exp $ +/* $Id: fiber.c,v 1.4 2003/01/15 21:24:36 chorns Exp $ * * FILE: lib/kernel32/thread/fiber.c * * ReactOS Kernel32.dll * */ -#include +#include + /********************************************************************** diff --git a/reactos/lib/kernel32/thread/thread.c b/reactos/lib/kernel32/thread/thread.c index d05b9f6d975..140ca3d9296 100644 --- a/reactos/lib/kernel32/thread/thread.c +++ b/reactos/lib/kernel32/thread/thread.c @@ -1,4 +1,4 @@ -/* $Id: thread.c,v 1.32 2002/12/02 21:28:40 ekohl Exp $ +/* $Id: thread.c,v 1.33 2003/01/15 21:24:36 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -12,15 +12,10 @@ /* INCLUDES ******************************************************************/ -#include -#include -#include -#include -#include +#include #define NDEBUG #include -#include static VOID ThreadAttachDlls (VOID); diff --git a/reactos/lib/kernel32/thread/tls.c b/reactos/lib/kernel32/thread/tls.c index d856ac28bc7..6d21c3eefb3 100644 --- a/reactos/lib/kernel32/thread/tls.c +++ b/reactos/lib/kernel32/thread/tls.c @@ -1,4 +1,4 @@ -/* $Id: tls.c,v 1.9 2002/09/08 10:22:46 chorns Exp $ +/* $Id: tls.c,v 1.10 2003/01/15 21:24:36 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -12,11 +12,7 @@ /* INCLUDES ******************************************************************/ -#include -#include -#include -#include -#include +#include #define NDEBUG #include