[FINGER]
authorAmine Khaldi <amine.khaldi@reactos.org>
Tue, 7 Jan 2014 16:30:52 +0000 (16:30 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Tue, 7 Jan 2014 16:30:52 +0000 (16:30 +0000)
* Remove one time inclusions from the main header and put them back where they belong.
* Cleanup the main header.
CORE-7716

svn path=/trunk/; revision=61558

reactos/base/applications/network/finger/err.c
reactos/base/applications/network/finger/finger.c
reactos/base/applications/network/finger/getopt.c
reactos/base/applications/network/finger/precomp.h

index ff6ccd7..92a9b37 100644 (file)
  * SUCH DAMAGE.
  */
 
+#include "precomp.h"
+
 #if defined(LIBC_SCCS) && !defined(lint)
 static char sccsid[] = "@(#)err.c      8.1 (Berkeley) 6/4/93";
 #endif /* LIBC_SCCS and not lint */
 
-#include "precomp.h"
-
 extern char *__progname;               /* Program name, from crt0. */
 
 void
index 82abc45..55bd2b0 100644 (file)
 
 #include "precomp.h"
 
+#include <time.h>
+
+#include "getopt.h"
+
 char *__progname;
 
 time_t now;
index ec49191..165db8f 100644 (file)
  *     Ported to Win32, changed index/rindex to strchr/strrchr
  */
 
+#include "precomp.h"
+
 #if defined(LIBC_SCCS) && !defined(lint)
 static char sccsid[] = "@(#)getopt.c   4.13 (Berkeley) 2/23/91";
 #endif /* LIBC_SCCS and not lint */
 
-#include "precomp.h"
-
 /*
  * get option letter from argument vector
  */
index a6a907d..2c13e23 100644 (file)
@@ -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"