aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coreutils/tail.c2
-rw-r--r--tail.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/tail.c b/coreutils/tail.c
index 3043a80d4..2746af83b 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -251,7 +251,7 @@ static int pipe_lines(int fd, long int n_lines)
If `forever' is nonzero, keep reading from the end of the file
until killed. Return the number of bytes read from the file. */
-static long dump_remainder(const char *filename,, int fd)
+static long dump_remainder(int fd)
{
char buffer[BUFSIZ];
int bytes_read;
diff --git a/tail.c b/tail.c
index 3043a80d4..2746af83b 100644
--- a/tail.c
+++ b/tail.c
@@ -251,7 +251,7 @@ static int pipe_lines(int fd, long int n_lines)
If `forever' is nonzero, keep reading from the end of the file
until killed. Return the number of bytes read from the file. */
-static long dump_remainder(const char *filename,, int fd)
+static long dump_remainder(int fd)
{
char buffer[BUFSIZ];
int bytes_read;