diff options
author | Richard Basch <probe@mit.edu> | 1993-09-24 12:17:38 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1993-09-24 12:17:38 +0000 |
commit | af4412fd5a0bc68e3b2587da10a0e92a9f1b55c6 (patch) | |
tree | 6cadf03060cf75931be5dd01afc34e45698bc0fb /lib/ZFmtList.c | |
parent | dcc9f89f68a5dd8b2d2b8628fbc915d5eceb777f (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/ZFmtList.c')
-rw-r--r-- | lib/ZFmtList.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ZFmtList.c b/lib/ZFmtList.c index 53aa356..b829150 100644 --- a/lib/ZFmtList.c +++ b/lib/ZFmtList.c @@ -48,13 +48,13 @@ Code_t ZFormatNoticeList(notice, list, nitems, buffer, ret_len, if (!(*buffer = (char *) malloc((unsigned)*ret_len))) return (ENOMEM); - bcopy(header, *buffer, hdrlen); + _BCOPY(header, *buffer, hdrlen); ptr = *buffer+hdrlen; for (;nitems;nitems--, list++) { i = strlen(*list)+1; - bcopy(*list, ptr, i); + _BCOPY(*list, ptr, i); ptr += i; } |