diff options
author | Richard Basch <probe@mit.edu> | 1993-11-19 10:45:07 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1993-11-19 10:45:07 +0000 |
commit | e1927b1a1929fabdc50269a91ff1fc56a13cfc68 (patch) | |
tree | 621220d521fc40f9db77284f2e65bd82b8fdea1d /clients | |
parent | 81892d595deb11e12c8127fd666515c641524ed9 (diff) |
Changed bcopy to memcpy [ANSI]
Diffstat (limited to 'clients')
-rw-r--r-- | clients/syslogd/logger.c | 2 | ||||
-rw-r--r-- | clients/xzwrite/nmalloc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clients/syslogd/logger.c b/clients/syslogd/logger.c index 11ada46..00dfd61 100644 --- a/clients/syslogd/logger.c +++ b/clients/syslogd/logger.c @@ -98,7 +98,7 @@ main(argc, argv) if (!--argc) break; } else { - _BCOPY(*argv++, p, len); + (void) memcpy(p, *argv++, len); p += len; if (!--argc) break; diff --git a/clients/xzwrite/nmalloc.c b/clients/xzwrite/nmalloc.c index 7dde10e..afc2c5f 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); + (void) memcpy (new, mem, tocopy); free (mem); return new; } |