bcopy()'s arguments are different order than memcpy()

svn path=/trunk/; revision=10951
This commit is contained in:
Royce Mitchell III 2004-09-21 04:00:14 +00:00
parent 822b8e1a47
commit 6f6e411eef

View file

@ -6,7 +6,7 @@ extern void oskittcp_die(const char *file, int line);
#define printf DbgPrint #define printf DbgPrint
#define ovbcopy(x,y,z) bcopy(x,y,z) #define ovbcopy(x,y,z) bcopy(x,y,z)
#define bzero(x,y) memset(x,0,y) #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__); \ #define panic(...) do { DbgPrint(__VA_ARGS__); \
oskittcp_die(__FILE__,__LINE__); } while(0) oskittcp_die(__FILE__,__LINE__); } while(0)
#define kmem_malloc(x,y,z) malloc(y) #define kmem_malloc(x,y,z) malloc(y)