mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:05:41 +00:00
[FINGER]
* Introduce a PCH. svn path=/trunk/; revision=52902
This commit is contained in:
parent
e87cb26ad8
commit
54c46d508f
6 changed files with 24 additions and 33 deletions
|
@ -9,5 +9,6 @@ add_executable(finger
|
||||||
finger.rc)
|
finger.rc)
|
||||||
|
|
||||||
set_module_type(finger win32cui)
|
set_module_type(finger win32cui)
|
||||||
|
add_pch(finger precomp.h)
|
||||||
add_importlibs(finger ws2_32 msvcrt kernel32)
|
add_importlibs(finger ws2_32 msvcrt kernel32)
|
||||||
add_cd_file(TARGET finger DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET finger DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -35,17 +35,7 @@
|
||||||
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
|
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
|
||||||
#endif /* LIBC_SCCS and not lint */
|
#endif /* LIBC_SCCS and not lint */
|
||||||
|
|
||||||
#include "err.h"
|
#include "precomp.h"
|
||||||
#include <errno.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#ifdef __STDC__
|
|
||||||
#include <stdarg.h>
|
|
||||||
#else
|
|
||||||
#include <varargs.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern char *__progname; /* Program name, from crt0. */
|
extern char *__progname; /* Program name, from crt0. */
|
||||||
|
|
||||||
|
|
|
@ -54,17 +54,7 @@
|
||||||
* mail info, and .plan/.project files.
|
* mail info, and .plan/.project files.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <winsock2.h>
|
#include "precomp.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"
|
|
||||||
|
|
||||||
char *__progname;
|
char *__progname;
|
||||||
|
|
||||||
|
|
|
@ -38,11 +38,7 @@
|
||||||
static char sccsid[] = "@(#)getopt.c 4.13 (Berkeley) 2/23/91";
|
static char sccsid[] = "@(#)getopt.c 4.13 (Berkeley) 2/23/91";
|
||||||
#endif /* LIBC_SCCS and not lint */
|
#endif /* LIBC_SCCS and not lint */
|
||||||
|
|
||||||
#include <stdio.h>
|
#include "precomp.h"
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#include "getopt.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* get option letter from argument vector
|
* get option letter from argument vector
|
||||||
|
|
|
@ -34,12 +34,7 @@
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <winsock2.h>
|
#include "precomp.h"
|
||||||
#include <stdio.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#include "various.h"
|
|
||||||
|
|
||||||
void
|
void
|
||||||
netfinger(char *name)
|
netfinger(char *name)
|
||||||
|
|
19
reactos/base/applications/network/finger/precomp.h
Normal file
19
reactos/base/applications/network/finger/precomp.h
Normal file
|
@ -0,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"
|
Loading…
Add table
Add a link
Reference in a new issue