aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2000-07-26 18:09:22 +0000
committerMark Whitley <markw@lineo.com>2000-07-26 18:09:22 +0000
commit7ce41ad69296d391e4ef2fa92112e57264687063 (patch)
tree431b8a980c008dd009b25a0b7b8e78c8bee97852
parente92108ae6d9edab40b3c5c921ebfd0fea3c16614 (diff)
downloadbusybox-7ce41ad69296d391e4ef2fa92112e57264687063.tar.gz
Fixed a syntax error & superfluous param decl that was causing the build to
fail.
-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;