revert last two commits. vfork cannot be used in subroutine,
[oweals/busybox.git] / debianutils / pipe_progress.c
index ac8fb50f63ec821580d8c3d1440a3a355f7e44b9..cbdd38ff42fb8f2cf4e80f83d5d676d88946c556 100644 (file)
@@ -14,8 +14,8 @@
 /* Read a block of data from stdin, write it to stdout.
  * Activity is indicated by a '.' to stderr
  */
-int pipe_progress_main(int argc, char **argv);
-int pipe_progress_main(int argc, char **argv)
+int pipe_progress_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
+int pipe_progress_main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED)
 {
        RESERVE_CONFIG_BUFFER(buf, PIPE_PROGRESS_SIZE);
        time_t t = time(NULL);