summaryrefslogtreecommitdiff
path: root/lib/ZFmtNotice.c
diff options
context:
space:
mode:
authorGravatar Richard Basch <probe@mit.edu>1993-09-24 12:17:38 +0000
committerGravatar Richard Basch <probe@mit.edu>1993-09-24 12:17:38 +0000
commitaf4412fd5a0bc68e3b2587da10a0e92a9f1b55c6 (patch)
tree6cadf03060cf75931be5dd01afc34e45698bc0fb /lib/ZFmtNotice.c
parentdcc9f89f68a5dd8b2d2b8628fbc915d5eceb777f (diff)
Use _BZERO,_BCOPY,_BCMP macros in lieu of the functions.
These are declared in <zephyr/zephyr_conf.h> to be either the BSD routine or the ANSI routines, depending on the system type.
Diffstat (limited to 'lib/ZFmtNotice.c')
-rw-r--r--lib/ZFmtNotice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ZFmtNotice.c b/lib/ZFmtNotice.c
index b56f6ee..7192b97 100644
--- a/lib/ZFmtNotice.c
+++ b/lib/ZFmtNotice.c
@@ -38,8 +38,8 @@ Code_t ZFormatNotice(notice, buffer, ret_len, cert_routine)
if (!(*buffer = (char *) malloc((unsigned)*ret_len)))
return (ENOMEM);
- bcopy(header, *buffer, hdrlen);
- bcopy(notice->z_message, *buffer+hdrlen, notice->z_message_len);
+ _BCOPY(header, *buffer, hdrlen);
+ _BCOPY(notice->z_message, *buffer+hdrlen, notice->z_message_len);
return (ZERR_NONE);
}