2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
authorCasper Hornstrup <chorns@users.sourceforge.net>
Sun, 15 Aug 2004 19:02:40 +0000 (19:02 +0000)
committerCasper Hornstrup <chorns@users.sourceforge.net>
Sun, 15 Aug 2004 19:02:40 +0000 (19:02 +0000)
* lib/userenv/.cvsignore: Add *.gch.
* lib/userenv/makefile (TARGET_PCH): Set to precomp.h.
* lib/userenv/*.c: Use pre-compiled header.

svn path=/trunk/; revision=10559

reactos/ChangeLog
reactos/lib/userenv/.cvsignore
reactos/lib/userenv/desktop.c
reactos/lib/userenv/directory.c
reactos/lib/userenv/environment.c
reactos/lib/userenv/makefile
reactos/lib/userenv/misc.c
reactos/lib/userenv/profile.c
reactos/lib/userenv/registry.c
reactos/lib/userenv/setup.c
reactos/lib/userenv/userenv.c

index da986d1..7bc18a3 100644 (file)
@@ -1,3 +1,9 @@
+2004-08-15  Casper S. Hornstrup  <chorns@users.sourceforge.net>
+
+       * lib/userenv/.cvsignore: Add *.gch.
+       * lib/userenv/makefile (TARGET_PCH): Set to precomp.h.
+       * lib/userenv/*.c: Use pre-compiled header.
+
 2004-08-15  Casper S. Hornstrup  <chorns@users.sourceforge.net>
 
        * lib/ws2_32/include/.cvsignore: New file.
index 1b813ae..7303835 100644 (file)
@@ -8,3 +8,4 @@ temp.exp
 *.map
 *.tmp
 *.o
+*.gch
index b7be157..784abfe 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: desktop.c,v 1.8 2004/07/12 10:33:04 weiden Exp $
+/* $Id: desktop.c,v 1.9 2004/08/15 19:02:40 chorns Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -7,14 +7,9 @@
  * PROGRAMMER:      Eric Kohl
  */
 
-#include <ntos.h>
-#include <windows.h>
-#include <userenv.h>
-#include <tchar.h>
+#include "precomp.h"
 #include <shlobj.h>
 
-#include "internal.h"
-
 
 /* FUNCTIONS ***************************************************************/
 
index d677d5e..c916736 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: directory.c,v 1.4 2004/05/08 13:11:07 ekohl Exp $
+/* $Id: directory.c,v 1.5 2004/08/15 19:02:40 chorns Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -7,11 +7,7 @@
  * PROGRAMMER:      Eric Kohl
  */
 
-#include <ntos.h>
-#include <windows.h>
-#include <string.h>
-
-#include "internal.h"
+#include "precomp.h"
 
 
 /* FUNCTIONS ***************************************************************/
index 7a44fa5..f4dd3b2 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: environment.c,v 1.5 2004/06/29 12:06:01 ekohl Exp $
+/* $Id: environment.c,v 1.6 2004/08/15 19:02:40 chorns Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -7,12 +7,7 @@
  * PROGRAMMER:      Eric Kohl
  */
 
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
-#include <userenv.h>
-
-#include "internal.h"
+#include "precomp.h"
 
 
 static BOOL
index ba98f62..c43a986 100644 (file)
@@ -4,6 +4,8 @@ TARGET_TYPE = dynlink
 
 TARGET_NAME = userenv
 
+TARGET_PCH = precomp.h
+
 TARGET_BASE = $(TARGET_BASE_LIB_USERENV)
 
 TARGET_CFLAGS = -fno-builtin -D__USE_W32API -D_WIN32_IE=0x0400
index 3830bae..e4c6e9d 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: misc.c,v 1.5 2004/07/12 10:33:04 weiden Exp $
+/* $Id: misc.c,v 1.6 2004/08/15 19:02:40 chorns Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -7,11 +7,7 @@
  * PROGRAMMER:      Eric Kohl
  */
 
-#include <ntos.h>
-#include <windows.h>
-#include <string.h>
-
-#include "internal.h"
+#include "precomp.h"
 
 
 /* FUNCTIONS ***************************************************************/
index 6fd87d9..4cbc8ff 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: profile.c,v 1.11 2004/05/03 12:05:44 ekohl Exp $
+/* $Id: profile.c,v 1.12 2004/08/15 19:02:40 chorns Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -7,13 +7,7 @@
  * PROGRAMMER:      Eric Kohl
  */
 
-#include <ntos.h>
-#include <windows.h>
-#include <string.h>
-
-#include <userenv.h>
-
-#include "internal.h"
+#include "precomp.h"
 
 
 /* FUNCTIONS ***************************************************************/
index 0463214..ca3ee56 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: registry.c,v 1.4 2004/03/16 11:34:51 ekohl Exp $
+/* $Id: registry.c,v 1.5 2004/08/15 19:02:40 chorns Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -7,11 +7,7 @@
  * PROGRAMMER:      Eric Kohl
  */
 
-#include <ntos.h>
-#include <windows.h>
-#include <string.h>
-
-#include "internal.h"
+#include "precomp.h"
 
 
 /* FUNCTIONS ***************************************************************/
index 753afd1..605745d 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: setup.c,v 1.5 2004/06/24 14:48:33 ekohl Exp $ 
+/* $Id: setup.c,v 1.6 2004/08/15 19:02:40 chorns Exp $ 
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -7,15 +7,8 @@
  * PROGRAMMER:      Eric Kohl
  */
 
-#include <ntos.h>
-#include <windows.h>
-#include <string.h>
-#include <stdarg.h>
-#include <stdio.h>
+#include "precomp.h"
 
-#include <userenv.h>
-
-#include "internal.h"
 
 typedef struct _DIRDATA
 {
index b2acad5..229b96e 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: userenv.c,v 1.2 2004/03/13 20:49:07 ekohl Exp $ 
+/* $Id: userenv.c,v 1.3 2004/08/15 19:02:40 chorns Exp $ 
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -7,11 +7,7 @@
  * PROGRAMMER:      Eric Kohl
  */
 
-#include <ntos.h>
-#include <windows.h>
-#include <userenv.h>
-
-#include "internal.h"
+#include "precomp.h"
 
 
 BOOL WINAPI