- Get oskittcp to compile on msvc.
Modified: trunk/reactos/drivers/lib/oskittcp/include/freebsd/src/sys/machine/spl.h
Modified: trunk/reactos/drivers/lib/oskittcp/include/freebsd/src/sys/sys/libkern.h
Modified: trunk/reactos/drivers/lib/oskittcp/include/freebsd/src/sys/sys/systm.h
Modified: trunk/reactos/drivers/lib/oskittcp/include/oskitfreebsd.h
Modified: trunk/reactos/drivers/lib/oskittcp/oskittcp/interface.c

Modified: trunk/reactos/drivers/lib/oskittcp/include/freebsd/src/sys/machine/spl.h
--- trunk/reactos/drivers/lib/oskittcp/include/freebsd/src/sys/machine/spl.h	2006-01-07 07:08:08 UTC (rev 20654)
+++ trunk/reactos/drivers/lib/oskittcp/include/freebsd/src/sys/machine/spl.h	2006-01-07 07:33:08 UTC (rev 20655)
@@ -177,7 +177,7 @@
 static int splhigh() { return 0; }
 static int splimp() { return 0; }
 static int splnet() { return 0; }
-static int splx() { return 0; }
+static int splx(x) { return 0; }
 static int splclock() { return 0; }
 
 #elif defined(__GNUC__)

Modified: trunk/reactos/drivers/lib/oskittcp/include/freebsd/src/sys/sys/libkern.h
--- trunk/reactos/drivers/lib/oskittcp/include/freebsd/src/sys/sys/libkern.h	2006-01-07 07:08:08 UTC (rev 20654)
+++ trunk/reactos/drivers/lib/oskittcp/include/freebsd/src/sys/sys/libkern.h	2006-01-07 07:33:08 UTC (rev 20655)
@@ -62,9 +62,4 @@
 char	*rindex __P((const char *, int));
 int	 scanc __P((u_int, u_char *, u_char *, int));
 int	 skpc __P((int, int, char *));
-char	*strcat __P((char *, const char *));
-int	 strcmp __P((const char *, const char *));
-char	*strcpy __P((char *, const char *));
-size_t	 strlen __P((const char *));
-int	 strncmp __P((const char *, const char *, size_t));
-char	*strncpy __P((char *, const char *, size_t));
+

Modified: trunk/reactos/drivers/lib/oskittcp/include/freebsd/src/sys/sys/systm.h
--- trunk/reactos/drivers/lib/oskittcp/include/freebsd/src/sys/sys/systm.h	2006-01-07 07:08:08 UTC (rev 20654)
+++ trunk/reactos/drivers/lib/oskittcp/include/freebsd/src/sys/sys/systm.h	2006-01-07 07:33:08 UTC (rev 20655)
@@ -114,7 +114,7 @@
 void	*hashinit __P((int count, int type, u_long *hashmask));
 void	*phashinit __P((int count, int type, u_long *nentries));
 
-__dead void	panic __P((const char *, ...)) __dead2;
+//__dead void	panic __P((const char *, ...)) __dead2;
 __dead void	boot __P((int)) __dead2;
 void	tablefull __P((const char *));
 void	addlog __P((const char *, ...));
@@ -126,7 +126,7 @@
 #include <oskitdebug.h>
 
 
-int __cdecl vprintf(const char *, va_list);
+//int __cdecl vprintf(const char *, va_list);
 
 #define log bsd_log
 static __inline int bsd_log ( int blah, const char* fmt, ... )

Modified: trunk/reactos/drivers/lib/oskittcp/include/oskitfreebsd.h
--- trunk/reactos/drivers/lib/oskittcp/include/oskitfreebsd.h	2006-01-07 07:08:08 UTC (rev 20654)
+++ trunk/reactos/drivers/lib/oskittcp/include/oskitfreebsd.h	2006-01-07 07:33:08 UTC (rev 20655)
@@ -12,7 +12,6 @@
 #define printf DbgPrint
 #define vprintf DbgVPrint 
 #define ovbcopy(x,y,z) bcopy(x,y,z)
-void *memset( void *dest, int c, size_t count );
 #define bzero(x,y) memset(x,0,y)
 #define bcopy(src,dst,n) memcpy(dst,src,n)
 #ifdef _MSC_VER

Modified: trunk/reactos/drivers/lib/oskittcp/oskittcp/interface.c
--- trunk/reactos/drivers/lib/oskittcp/oskittcp/interface.c	2006-01-07 07:08:08 UTC (rev 20654)
+++ trunk/reactos/drivers/lib/oskittcp/oskittcp/interface.c	2006-01-07 07:33:08 UTC (rev 20655)
@@ -30,7 +30,6 @@
 struct timeval boottime;
 
 void clock_init();
-int isprint(int c);
 int _snprintf(char * buf, size_t cnt, const char *fmt, ...);
 
 void *fbsd_malloc( unsigned int bytes, char *file, unsigned line, ... ) {