diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 1998-12-02 10:58:54 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 1998-12-02 10:58:54 +0000 |
commit | 18fc5142bd26bb6d7b2de8ccd55b64acf06ad68e (patch) | |
tree | e370ffe9106a01abfb90b9b5a76d29a84d98888f /yacc | |
parent | 32fe9f8e5b09df7b6c79b99002ebec9ed9d50a90 (diff) |
int main()
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2216 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'yacc')
-rw-r--r-- | yacc/main.c | 3 |
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; } |