summaryrefslogtreecommitdiffstats
path: root/yacc/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'yacc/main.c')
-rw-r--r--yacc/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/yacc/main.c b/yacc/main.c
index 18d19f851..a6c9a337f 100644
--- a/yacc/main.c
+++ b/yacc/main.c
@@ -375,7 +375,7 @@ void open_files(void)
open_error(interface_file_name);
}
-void main(int argc, char **argv)
+int main(int argc, char **argv)
{
#if macintosh
rotatecursor_init (&have_to_interact);
@@ -391,4 +391,5 @@ void main(int argc, char **argv)
output();
done(0);
/*NOTREACHED*/
+ return 0;
}