bcopy()'s arguments are different order than memcpy()
[reactos.git] / 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 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)