Author: akhaldi
Date: Tue Jul 26 21:49:14 2011
New Revision: 52902
URL:
http://svn.reactos.org/svn/reactos?rev=52902&view=rev
Log:
[FINGER]
* Introduce a PCH.
Added:
trunk/reactos/base/applications/network/finger/precomp.h (with props)
Modified:
trunk/reactos/base/applications/network/finger/CMakeLists.txt
trunk/reactos/base/applications/network/finger/err.c
trunk/reactos/base/applications/network/finger/finger.c
trunk/reactos/base/applications/network/finger/getopt.c
trunk/reactos/base/applications/network/finger/net.c
Modified: trunk/reactos/base/applications/network/finger/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/finger/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/finger/CMakeLists.txt [iso-8859-1] Tue Jul 26
21:49:14 2011
@@ -9,5 +9,6 @@
finger.rc)
set_module_type(finger win32cui)
+add_pch(finger precomp.h)
add_importlibs(finger ws2_32 msvcrt kernel32)
add_cd_file(TARGET finger DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/network/finger/err.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/finger/err.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/finger/err.c [iso-8859-1] Tue Jul 26 21:49:14
2011
@@ -35,17 +35,7 @@
static char sccsid[] = "(a)(#)err.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
-#include "err.h"
-#include <errno.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#ifdef __STDC__
-#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
+#include "precomp.h"
extern char *__progname; /* Program name, from crt0. */
Modified: trunk/reactos/base/applications/network/finger/finger.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/finger/finger.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/finger/finger.c [iso-8859-1] Tue Jul 26
21:49:14 2011
@@ -54,17 +54,7 @@
* mail info, and .plan/.project files.
*/
-#include <winsock2.h>
-#include "err.h"
-#include <errno.h>
-#include <fcntl.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <time.h>
-
-#include "various.h"
-#include "getopt.h"
+#include "precomp.h"
char *__progname;
Modified: trunk/reactos/base/applications/network/finger/getopt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/finger/getopt.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/finger/getopt.c [iso-8859-1] Tue Jul 26
21:49:14 2011
@@ -38,11 +38,7 @@
static char sccsid[] = "(a)(#)getopt.c 4.13 (Berkeley) 2/23/91";
#endif /* LIBC_SCCS and not lint */
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "getopt.h"
+#include "precomp.h"
/*
* get option letter from argument vector
Modified: trunk/reactos/base/applications/network/finger/net.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/finger/net.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/finger/net.c [iso-8859-1] Tue Jul 26 21:49:14
2011
@@ -34,12 +34,7 @@
* SUCH DAMAGE.
*/
-#include <winsock2.h>
-#include <stdio.h>
-#include <ctype.h>
-#include <string.h>
-
-#include "various.h"
+#include "precomp.h"
void
netfinger(char *name)
Added: trunk/reactos/base/applications/network/finger/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/finger/precomp.h (added)
+++ trunk/reactos/base/applications/network/finger/precomp.h [iso-8859-1] Tue Jul 26
21:49:14 2011
@@ -1,0 +1,19 @@
+
+#include <winsock2.h>
+#include "err.h"
+#include <errno.h>
+#include <fcntl.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <time.h>
+#include <ctype.h>
+
+#ifdef __STDC__
+#include <stdarg.h>
+#else
+#include <varargs.h>
+#endif
+
+#include "various.h"
+#include "getopt.h"
Propchange: trunk/reactos/base/applications/network/finger/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native