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/ZRetSubs.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/ZRetSubs.c')
-rw-r--r-- | lib/ZRetSubs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ZRetSubs.c b/lib/ZRetSubs.c index 05887ad..dfe9e27 100644 --- a/lib/ZRetSubs.c +++ b/lib/ZRetSubs.c @@ -38,7 +38,7 @@ Code_t ZRetrieveSubscriptions(port,nsubs) sizeof(u_short))) != ZERR_NONE) return (retval); - (void) bzero((char *)¬ice, sizeof(notice)); + (void) _BZERO((char *)¬ice, sizeof(notice)); notice.z_message = asciiport; notice.z_message_len = strlen(asciiport)+1; notice.z_opcode = CLIENT_GIMMESUBS; @@ -51,7 +51,7 @@ Code_t ZRetrieveDefaultSubscriptions(nsubs) { ZNotice_t notice; - (void) bzero((char *)¬ice, sizeof(notice)); + (void) _BZERO((char *)¬ice, sizeof(notice)); notice.z_message = (char *) 0; notice.z_message_len = 0; notice.z_opcode = CLIENT_GIMMEDEFS; |