]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
irix-lacks-mem-functions-in-kernel-so-revert-to-b-functions-20011011
authorChas Williams <chas@cmf.nrl.navy.mil>
Thu, 11 Oct 2001 17:41:51 +0000 (17:41 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 11 Oct 2001 17:41:51 +0000 (17:41 +0000)
same as how we fix solaris

src/config/param.sgi_62.h
src/config/param.sgi_63.h
src/config/param.sgi_64.h
src/config/param.sgi_65.h

index 88749e23c590d046d1f4715262cee2a4a74ee991..30557129a01bb9069eebc821c2972675cab2fbaa 100644 (file)
 #define        DEBUG           1
 
 #define AFS_SGI_DUAL_FS_CACHE 1 /* implies supports EFS or XFS cache */
+
+#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 */
 
 #ifndef CMSERVERPREF
index 1163011ec458302d7e2cfa32f471b2f42dc0e5ad..0cecc287c4932043e236b604b58cf3325f122fee 100644 (file)
 #define AFS_EVENT_LOCK  1 /* osi_Sleep/osi_Wakeup use spinlock. */
 #define AFS_SGI_DUAL_FS_CACHE 1 /* implies supports EFS or XFS cache */
 
+#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 */
 
 #ifndef CMSERVERPREF
index 2650bfa6fbb4c84ca102f8bed664dc7929f1d8ca..9e2b2d8aaf13af6d514aa86633a612f999cd4155 100644 (file)
 #define AFS_EVENT_LOCK  1 /* osi_Sleep/osi_Wakeup use spinlock. */
 #define AFS_SGI_DUAL_FS_CACHE 1 /* implies supports EFS or XFS cache */
 
+#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 */
 
 #ifndef CMSERVERPREF
index de7e674184d5fad1e54decae3ed5d7a639e42699..63afdd23e440f3eb5d95876c5f4249c09b7de7ab 100644 (file)
 #define AFS_EVENT_LOCK  1 /* osi_Sleep/osi_Wakeup use spinlock. */
 #define AFS_SGI_DUAL_FS_CACHE 1 /* implies supports EFS or XFS cache */
 
+#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 */
 
 #ifndef CMSERVERPREF