Author: akhaldi
Date: Tue Jan 7 16:30:52 2014
New Revision: 61558
URL:
http://svn.reactos.org/svn/reactos?rev=61558&view=rev
Log:
[FINGER]
* Remove one time inclusions from the main header and put them back where they belong.
* Cleanup the main header.
CORE-7716
Modified:
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/precomp.h
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 Jan 7 16:30:52
2014
@@ -31,11 +31,11 @@
* SUCH DAMAGE.
*/
+#include "precomp.h"
+
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "(a)(#)err.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
-
-#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 Jan 7
16:30:52 2014
@@ -55,6 +55,10 @@
*/
#include "precomp.h"
+
+#include <time.h>
+
+#include "getopt.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 Jan 7
16:30:52 2014
@@ -34,11 +34,11 @@
* Ported to Win32, changed index/rindex to strchr/strrchr
*/
+#include "precomp.h"
+
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "(a)(#)getopt.c 4.13 (Berkeley) 2/23/91";
#endif /* LIBC_SCCS and not lint */
-
-#include "precomp.h"
/*
* get option letter from argument vector
Modified: 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 [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/finger/precomp.h [iso-8859-1] Tue Jan 7
16:30:52 2014
@@ -4,8 +4,5 @@
#include <winsock2.h>
#include <stdio.h>
#include <stdlib.h>
-#include <time.h>
#include "err.h"
-#include "getopt.h"
-#include "various.h"