summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-04-04 22:15:56 +0000
committerobrien <obrien@FreeBSD.org>2002-04-04 22:15:56 +0000
commit30affec10e032d8b230bed23af8b23670c7e8c82 (patch)
treefe4f3725451af2a6221ccb316f454a3d56c1a3df
parent6d04a5e00de92a0e2da33c1829c1766c1af9aad9 (diff)
downloadFreeBSD-src-30affec10e032d8b230bed23af8b23670c7e8c82.zip
FreeBSD-src-30affec10e032d8b230bed23af8b23670c7e8c82.tar.gz
Allow to compile errorlessly with GCC 3.1.
-rw-r--r--usr.bin/yacc/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/yacc/main.c b/usr.bin/yacc/main.c
index 0e7bb3f..06b55bb 100644
--- a/usr.bin/yacc/main.c
+++ b/usr.bin/yacc/main.c
@@ -485,9 +485,7 @@ open_files()
int
-main(argc, argv)
-int argc;
-char *argv[];
+main(int argc, char *argv[])
{
set_signals();
getargs(argc, argv);
OpenPOWER on IntegriCloud