bcopy()'s arguments are different order than memcpy()
authorRoyce Mitchell III <royce3@ev1.net>
Tue, 21 Sep 2004 04:00:14 +0000 (04:00 +0000)
committerRoyce Mitchell III <royce3@ev1.net>
Tue, 21 Sep 2004 04:00:14 +0000 (04:00 +0000)
svn path=/trunk/; revision=10951

reactos/drivers/lib/oskittcp/include/oskitfreebsd.h

index 36ba212..bc2cd40 100644 (file)
@@ -6,7 +6,7 @@ extern void oskittcp_die(const char *file, int line);
 #define printf DbgPrint
 #define ovbcopy(x,y,z) bcopy(x,y,z)
 #define bzero(x,y) memset(x,0,y)
 #define printf DbgPrint
 #define ovbcopy(x,y,z) bcopy(x,y,z)
 #define bzero(x,y) memset(x,0,y)
-#define bcopy memcpy
+#define bcopy(src,dst,n) memcpy(dst,src,n)
 #define panic(...) do { DbgPrint(__VA_ARGS__); \
        oskittcp_die(__FILE__,__LINE__); } while(0)
 #define kmem_malloc(x,y,z) malloc(y)
 #define panic(...) do { DbgPrint(__VA_ARGS__); \
        oskittcp_die(__FILE__,__LINE__); } while(0)
 #define kmem_malloc(x,y,z) malloc(y)