summaryrefslogtreecommitdiff
path: root/lib/ZAsyncLocate.c
diff options
context:
space:
mode:
authorGravatar Richard Basch <probe@mit.edu>1993-11-19 10:22:56 +0000
committerGravatar Richard Basch <probe@mit.edu>1993-11-19 10:22:56 +0000
commit74c7c73a03385cc870cc0e3318f028683743e2b9 (patch)
tree06428728a0e4066c8b8535560d1462ca8f04ead2 /lib/ZAsyncLocate.c
parentf87161de62e8755138143b602a7c7fe1005b3ecc (diff)
Changed bzero to memset [ANSI]
Diffstat (limited to 'lib/ZAsyncLocate.c')
-rw-r--r--lib/ZAsyncLocate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ZAsyncLocate.c b/lib/ZAsyncLocate.c
index fe6b444..37f61fa 100644
--- a/lib/ZAsyncLocate.c
+++ b/lib/ZAsyncLocate.c
@@ -31,7 +31,7 @@ Code_t ZRequestLocations(user, zald, kind, auth)
if ((retval = ZOpenPort((u_short *)0)) != ZERR_NONE)
return (retval);
- (void) _BZERO((char *)&notice, sizeof(notice));
+ (void) memset((char *)&notice, 0, sizeof(notice));
notice.z_kind = kind;
notice.z_port = __Zephyr_port;
notice.z_class = LOCATE_CLASS;
@@ -166,5 +166,5 @@ void ZFreeALD(zald)
if (zald->user) free(zald->user);
if (zald->version) free(zald->version);
- _BZERO(zald, sizeof(*zald));
+ (void) memset(zald, 0, sizeof(*zald));
}