From 5134c3f7990c353d2442ddd8a9a1d30b80099e43 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 2 Feb 2002 06:50:57 +0000 Subject: o __P has been reoved o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. o Change int foo() { ... to int foo(void) { ... --- bin/stty/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/stty/util.c') diff --git a/bin/stty/util.c b/bin/stty/util.c index b99e83f67d96..a5b6790d4082 100644 --- a/bin/stty/util.c +++ b/bin/stty/util.c @@ -57,7 +57,7 @@ static const char rcsid[] = * redirected. */ void -checkredirect() +checkredirect(void) { struct stat sb1, sb2; -- cgit v1.2.3