summaryrefslogtreecommitdiff
path: root/lib/ZIfNotice.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/ZIfNotice.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/ZIfNotice.c')
-rw-r--r--lib/ZIfNotice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ZIfNotice.c b/lib/ZIfNotice.c
index c578de5..2729619 100644
--- a/lib/ZIfNotice.c
+++ b/lib/ZIfNotice.c
@@ -44,7 +44,7 @@ Code_t ZIfNotice(notice, from, predicate, args)
if ((*predicate)(&tmpnotice, args)) {
if (!(buffer = (char *) malloc((unsigned) qptr->packet_len)))
return (ENOMEM);
- bcopy(qptr->packet, buffer, qptr->packet_len);
+ _BCOPY(qptr->packet, buffer, qptr->packet_len);
if (from)
*from = qptr->from;
if ((retval = ZParseNotice(buffer, qptr->packet_len,