]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
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 50b18dbb4fc376aa808325ba6202dd8293f588b4..a321585276fa16e15660c0dc5a81688eb6e02062 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 619a74ec4e3500a077757baf96ed664f2f55038f..b6d18be7043527d32bcd0b19f3798c14f2b3657f 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