Chris Torek demands that it return the yyparse() value.
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 14 Jan 1991 02:17:18 +0000 (18:17 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 14 Jan 1991 02:17:18 +0000 (18:17 -0800)
SCCS-vsn: lib/liby/main.c 5.3

usr/src/lib/liby/main.c

index c374fb0..8f9e903 100644 (file)
@@ -6,13 +6,10 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)main.c     5.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)main.c     5.3 (Berkeley) %G%";
 #endif /* not lint */
 
 main()
 {
 #endif /* not lint */
 
 main()
 {
-       extern yyparse();
-
-       (void)yyparse();
-       return(0);
+       exit(yyparse());
 }
 }