msvc fixes
Modified: trunk/reactos/apps/utils/net/finger/err.c
Modified: trunk/reactos/apps/utils/net/finger/finger.c
Modified: trunk/reactos/apps/utils/net/finger/net.c

Modified: trunk/reactos/apps/utils/net/finger/err.c
--- trunk/reactos/apps/utils/net/finger/err.c	2005-11-11 01:05:23 UTC (rev 19128)
+++ trunk/reactos/apps/utils/net/finger/err.c	2005-11-11 08:58:05 UTC (rev 19129)
@@ -50,21 +50,10 @@
 extern char *__progname;		/* Program name, from crt0. */
 
 void
-#ifdef __STDC__
 err(int eval, const char *fmt, ...)
-#else
-err(eval, fmt, va_alist)
-	int eval;
-	const char *fmt;
-	va_dcl
-#endif
 {
 	va_list ap;
-#if __STDC__
 	va_start(ap, fmt);
-#else
-	va_start(ap);
-#endif
 	verr(eval, fmt, ap);
 	va_end(ap);
 }
@@ -85,21 +74,10 @@
 }
 
 void
-#if __STDC__
 errx(int eval, const char *fmt, ...)
-#else
-errx(eval, fmt, va_alist)
-	int eval;
-	const char *fmt;
-	va_dcl
-#endif
 {
 	va_list ap;
-#if __STDC__
 	va_start(ap, fmt);
-#else
-	va_start(ap);
-#endif
 	verrx(eval, fmt, ap);
 	va_end(ap);
 }
@@ -115,20 +93,10 @@
 }
 
 void
-#if __STDC__
 warn(const char *fmt, ...)
-#else
-warn(fmt, va_alist)
-	const char *fmt;
-	va_dcl
-#endif
 {
 	va_list ap;
-#if __STDC__
 	va_start(ap, fmt);
-#else
-	va_start(ap);
-#endif
 	vwarn(fmt, ap);
 	va_end(ap);
 }
@@ -150,20 +118,10 @@
 }
 
 void
-#ifdef __STDC__
 warnx(const char *fmt, ...)
-#else
-warnx(fmt, va_alist)
-	const char *fmt;
-	va_dcl
-#endif
 {
 	va_list ap;
-#ifdef __STDC__
 	va_start(ap, fmt);
-#else
-	va_start(ap);
-#endif
 	vwarnx(fmt, ap);
 	va_end(ap);
 }

Modified: trunk/reactos/apps/utils/net/finger/finger.c
--- trunk/reactos/apps/utils/net/finger/finger.c	2005-11-11 01:05:23 UTC (rev 19128)
+++ trunk/reactos/apps/utils/net/finger/finger.c	2005-11-11 08:58:05 UTC (rev 19129)
@@ -62,7 +62,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
-#include "unistd.h"
 
 #include "various.h"
 #include "getopt.h"

Modified: trunk/reactos/apps/utils/net/finger/net.c
--- trunk/reactos/apps/utils/net/finger/net.c	2005-11-11 01:05:23 UTC (rev 19128)
+++ trunk/reactos/apps/utils/net/finger/net.c	2005-11-11 08:58:05 UTC (rev 19129)
@@ -35,13 +35,15 @@
  */
 #include <sys/types.h>
 #include <winsock2.h>
-#include "unistd.h"
+
 #include <stdio.h>
 #include <ctype.h>
 #include <string.h>
 
 #include "various.h"
 
+int close(int);
+
 void
 netfinger(char *name)
 {