summaryrefslogtreecommitdiff
path: root/src/dd.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-11-30 02:58:21 +0000
committerJim Meyering <jim@meyering.net>1998-11-30 02:58:21 +0000
commit90dbea92c4549a64fd6def3754cf3437a9d80853 (patch)
treead22c90781384707cc09346ae9055d1658ca65a9 /src/dd.c
parentd9878753d133765b8d970abc626a7c9a4338d173 (diff)
downloadcoreutils-90dbea92c4549a64fd6def3754cf3437a9d80853.tar.xz
(dd_copy): Rename function from `copy'.
Diffstat (limited to 'src/dd.c')
-rw-r--r--src/dd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dd.c b/src/dd.c
index f7d9c47a3..5a4b06b04 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -932,7 +932,7 @@ copy_with_unblock (unsigned char *buf, int nread)
/* The main loop. */
static int
-copy (void)
+dd_copy (void)
{
unsigned char *ibuf, *bufstart; /* Input buffer. */
int nread; /* Bytes read in the current block. */
@@ -1174,7 +1174,7 @@ main (int argc, char **argv)
install_handler (SIGPIPE, interrupt_handler);
install_handler (SIGINFO, siginfo_handler);
- exit_status = copy ();
+ exit_status = dd_copy ();
quit (exit_status);
}