summaryrefslogtreecommitdiff
path: root/clients
diff options
context:
space:
mode:
authorGravatar Richard Basch <probe@mit.edu>1993-09-24 17:24:16 +0000
committerGravatar Richard Basch <probe@mit.edu>1993-09-24 17:24:16 +0000
commit3f81a50e6ff7db4ca6c207f029e1fc1982dff59f (patch)
treeece281705b42b5cb14d7f5d1d0f12c440c009b4d /clients
parent2b77bbbd2af06b190c7ede4487af2efb8a48c8a5 (diff)
Changed bcopy/bzero to _BCOPY/_BZERO (defined in <zephyr/zephyr_conf.h>)
Diffstat (limited to 'clients')
-rw-r--r--clients/xzwrite/dest_window.c4
-rw-r--r--clients/xzwrite/destlist.c2
-rw-r--r--clients/xzwrite/nmalloc.c2
-rw-r--r--clients/xzwrite/yank.c2
-rw-r--r--clients/xzwrite/zephyr.c6
-rw-r--r--clients/zpopnotify/zpopnotify.c2
6 files changed, 9 insertions, 9 deletions
diff --git a/clients/xzwrite/dest_window.c b/clients/xzwrite/dest_window.c
index 4e32329..a8c2145 100644
--- a/clients/xzwrite/dest_window.c
+++ b/clients/xzwrite/dest_window.c
@@ -102,7 +102,7 @@ void select_dest()
switch (ret) {
case SEND_OK:
edit_set_title(&dest);
- bcopy((char *) &dest, (char *) &current_dest, sizeof(DestRec));
+ _BCOPY((char *) &dest, (char *) &current_dest, sizeof(DestRec));
break;
case SENDFAIL_SEND:
case SENDFAIL_RECV:
@@ -113,6 +113,6 @@ void select_dest()
}
else {
edit_set_title(&dest);
- bcopy((char *) &dest, (char *) &current_dest, sizeof(DestRec));
+ _BCOPY((char *) &dest, (char *) &current_dest, sizeof(DestRec));
}
}
diff --git a/clients/xzwrite/destlist.c b/clients/xzwrite/destlist.c
index e359657..c372e30 100644
--- a/clients/xzwrite/destlist.c
+++ b/clients/xzwrite/destlist.c
@@ -50,7 +50,7 @@ int dest_num()
void dest_set_current_dest(dest)
Dest dest;
{
- bcopy((char *) dest, (char *) &current_dest, sizeof(DestRec));
+ _BCOPY((char *) dest, (char *) &current_dest, sizeof(DestRec));
}
void dest_init()
diff --git a/clients/xzwrite/nmalloc.c b/clients/xzwrite/nmalloc.c
index 42994cd..7dde10e 100644
--- a/clients/xzwrite/nmalloc.c
+++ b/clients/xzwrite/nmalloc.c
@@ -717,7 +717,7 @@ realloc (mem, n)
if ((new = malloc (n)) == 0)
return 0;
- bcopy (mem, new, tocopy);
+ _BCOPY (mem, new, tocopy);
free (mem);
return new;
}
diff --git a/clients/xzwrite/yank.c b/clients/xzwrite/yank.c
index 2aba0e8..a756ecf 100644
--- a/clients/xzwrite/yank.c
+++ b/clients/xzwrite/yank.c
@@ -9,7 +9,7 @@ void yank_init()
{
yank_buffer = (Yank) Malloc(defs.max_yanks*sizeof(YankRec),
"while allocating yank buffer", NULL);
- bzero((char *) yank_buffer, defs.max_yanks*sizeof(YankRec));
+ _BZERO((char *) yank_buffer, defs.max_yanks*sizeof(YankRec));
read_index = write_index = 0;
highest = -1;
diff --git a/clients/xzwrite/zephyr.c b/clients/xzwrite/zephyr.c
index d46ca3d..d9b1a5d 100644
--- a/clients/xzwrite/zephyr.c
+++ b/clients/xzwrite/zephyr.c
@@ -135,7 +135,7 @@ int zeph_send_message(dest, msg)
NULL);
sprintf(sig_msg, "%s%c%s", defs.signature, '\0', msg);
- bzero((char *) &notice, sizeof(ZNotice_t));
+ _BZERO((char *) &notice, sizeof(ZNotice_t));
notice.z_kind = ACKED;
notice.z_class = dest->zclass;
notice.z_class_inst = dest->zinst;
@@ -170,7 +170,7 @@ int zeph_ping(dest)
{
ZNotice_t notice;
- bzero((char *) &notice, sizeof(ZNotice_t));
+ _BZERO((char *) &notice, sizeof(ZNotice_t));
notice.z_kind = ACKED;
notice.z_class = dest->zclass;
notice.z_class_inst = dest->zinst;
@@ -186,7 +186,7 @@ int zeph_pong(dest)
{
ZNotice_t notice;
- bzero((char *) &notice, sizeof(ZNotice_t));
+ _BZERO((char *) &notice, sizeof(ZNotice_t));
notice.z_kind = ACKED;
notice.z_class = dest->zclass;
notice.z_class_inst = dest->zinst;
diff --git a/clients/zpopnotify/zpopnotify.c b/clients/zpopnotify/zpopnotify.c
index 4b69602..747079a 100644
--- a/clients/zpopnotify/zpopnotify.c
+++ b/clients/zpopnotify/zpopnotify.c
@@ -70,7 +70,7 @@ main(argc,argv)
(void) strcat(mysender,ZGetRealm());
for (i = 1; i < argc; i++) {
- (void) bzero((char *)&notice, sizeof(notice));
+ (void) _BZERO((char *)&notice, sizeof(notice));
notice.z_kind = UNSAFE;
notice.z_class = MAIL_CLASS;
notice.z_class_inst = MAIL_INSTANCE;