summaryrefslogtreecommitdiff
path: root/lib/ZRetSubs.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/ZRetSubs.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/ZRetSubs.c')
-rw-r--r--lib/ZRetSubs.c4
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 *)&notice, sizeof(notice));
+ (void) _BZERO((char *)&notice, 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 *)&notice, sizeof(notice));
+ (void) _BZERO((char *)&notice, sizeof(notice));
notice.z_message = (char *) 0;
notice.z_message_len = 0;
notice.z_opcode = CLIENT_GIMMEDEFS;