solais10-declares-mem-funcs-20050212 BP-disconnected
authorDerrick Brashear <shadow@dementia.org>
Sat, 12 Feb 2005 19:52:19 +0000 (19:52 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sat, 12 Feb 2005 19:52:19 +0000 (19:52 +0000)
mem* funcs now declared in sys/systm.h with a different prototype so there's a conflict. (but delcared means they exist, so this is fine)

src/config/param.sun4x_510.h
src/config/param.sunx86_510.h

index 50b18db..a321585 100644 (file)
 #define AFS_KALLOC_NOSLEEP(n)   kmem_alloc(n, KM_NOSLEEP)
 #define        AFS_KFREE               kmem_free
 #define        VATTR_NULL              vattr_null
-#define memset(A, B, S)                bzero(A, S)
-#define memcpy(B, A, S)                bcopy(A, B, S)
-#define memcmp(A, B, S)                bcmp(A, B, S)
 #endif /* KERNEL */
 #define        AFS_DIRENT
 #ifndef CMSERVERPREF
index 619a74e..b6d18be 100644 (file)
 #define AFS_KALLOC_NOSLEEP(n)   kmem_alloc(n, KM_NOSLEEP)
 #define        AFS_KFREE               kmem_free
 #define        VATTR_NULL              vattr_null
-#define memset(A, B, S)                bzero(A, S)
-#define memcpy(B, A, S)                bcopy(A, B, S)
-#define memcmp(A, B, S)                bcmp(A, B, S)
 #endif /* KERNEL */
 #define        AFS_DIRENT
 #ifndef CMSERVERPREF