aboutsummaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorGravatar Mike Frysinger <vapier@gentoo.org>2005-04-16 04:30:38 +0000
committerGravatar Mike Frysinger <vapier@gentoo.org>2005-04-16 04:30:38 +0000
commit4e5936ef9501da7d2f010d8c4f3703505b28b2c5 (patch)
tree0fb5b9eaab153b533ffe5b228d70f05ebf0b3b16 /loginutils
parent5c63a729681991c86fc94fbe6f9f18b8cf876810 (diff)
downloadbusybox-4e5936ef9501da7d2f010d8c4f3703505b28b2c5.tar.gz
busybox-4e5936ef9501da7d2f010d8c4f3703505b28b2c5.tar.bz2
In Bug 208, bernhardf writes:
On machines with only ANSI compliant compilers, not explitily delcaring an empty parameter list 'void' causes failure.
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/login.c b/loginutils/login.c
index f3630f102..25f3c01e2 100644
--- a/loginutils/login.c
+++ b/loginutils/login.c
@@ -387,7 +387,7 @@ static int is_my_tty ( const char *tty )
}
-static void motd ( )
+static void motd (void)
{
FILE *fp;
register int c;