From: Derrick Brashear Date: Thu, 15 Nov 2001 03:20:55 +0000 (+0000) Subject: STABLE12-dux-kernel-lacks-mem-functions-20011016 X-Git-Tag: openafs-stable-1_2_2a~4 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c57bd8db990bc512bf55b3073023a3731791fd55;p=packages%2Fo%2Fopenafs.git STABLE12-dux-kernel-lacks-mem-functions-20011016 pull into stable (kernel lacks memcpy memset memcmp) (cherry picked from commit 50b3a0fb22403b250585cbc3d7c4cd17440840d5) --- diff --git a/src/config/param.alpha_dux40.h b/src/config/param.alpha_dux40.h index 1b5c8c45c..1270ee9bc 100644 --- a/src/config/param.alpha_dux40.h +++ b/src/config/param.alpha_dux40.h @@ -102,6 +102,10 @@ enum vcexcl {NONEXCL, EXCL}; #include #endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */ + +#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 */ #endif /* AFS_PARAM_H */ diff --git a/src/config/param.alpha_dux50.h b/src/config/param.alpha_dux50.h index 02517aecd..651fadbdf 100644 --- a/src/config/param.alpha_dux50.h +++ b/src/config/param.alpha_dux50.h @@ -103,6 +103,10 @@ enum vcexcl {NONEXCL, EXCL}; #include #endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */ + +#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 */ #endif /* AFS_PARAM_H */