diff options
author | 1997-06-21 12:33:13 +0000 | |
---|---|---|
committer | 1997-06-21 12:33:13 +0000 | |
commit | 46e2f2e03720959a2cbc541ab5659944c554c49b (patch) | |
tree | ab97494cd0a52d6c834cda3ad27f2cbbe92d60b2 | |
parent | block all write ops to init in securelevel modes; nash@mcs.com (diff) | |
download | wireguard-openbsd-46e2f2e03720959a2cbc541ab5659944c554c49b.tar.xz wireguard-openbsd-46e2f2e03720959a2cbc541ab5659944c554c49b.zip |
type decl fixes; mikel
-rw-r--r-- | lib/liby/main.c | 7 | ||||
-rw-r--r-- | lib/liby/yyerror.c | 5 |
2 files changed, 9 insertions, 3 deletions
diff --git a/lib/liby/main.c b/lib/liby/main.c index 4b5eff13f77..338f323a841 100644 --- a/lib/liby/main.c +++ b/lib/liby/main.c @@ -33,9 +33,14 @@ #ifndef lint /*static char sccsid[] = "from: @(#)main.c 5.3 (Berkeley) 1/13/91";*/ -static char rcsid[] = "$Id: main.c,v 1.1.1.1 1995/10/18 08:43:14 deraadt Exp $"; +static char rcsid[] = "$Id: main.c,v 1.2 1997/06/21 12:33:13 deraadt Exp $"; #endif /* not lint */ +#include <stdlib.h> + +extern int yyparse(); + +int main() { exit(yyparse()); diff --git a/lib/liby/yyerror.c b/lib/liby/yyerror.c index a4d7366e754..f32deb9c655 100644 --- a/lib/liby/yyerror.c +++ b/lib/liby/yyerror.c @@ -33,13 +33,14 @@ #ifndef lint /*static char sccsid[] = "from: @(#)yyerror.c 5.2 (Berkeley) 5/15/90";*/ -static char rcsid[] = "$Id: yyerror.c,v 1.1.1.1 1995/10/18 08:43:14 deraadt Exp $"; +static char rcsid[] = "$Id: yyerror.c,v 1.2 1997/06/21 12:33:15 deraadt Exp $"; #endif /* not lint */ #include <stdio.h> +int yyerror(msg) -char *msg; + char *msg; { (void)fprintf(stderr, "%s\n", msg); return(0); |