diff options
author | 2004-08-08 20:13:13 +0000 | |
---|---|---|
committer | 2004-08-08 20:13:13 +0000 | |
commit | fc6b8f10bb19e6009e862e8a63f58c10722250c2 (patch) | |
tree | 69a9674d3ff4ae2e89a6812df4ef26b4049f20e7 | |
parent | Do not panic if OF_poweroff() returns, this is handled correctly by (diff) | |
download | wireguard-openbsd-fc6b8f10bb19e6009e862e8a63f58c10722250c2.tar.xz wireguard-openbsd-fc6b8f10bb19e6009e862e8a63f58c10722250c2.zip |
spacing
-rw-r--r-- | usr.bin/yacc/mkpar.c | 6 | ||||
-rw-r--r-- | usr.bin/yacc/output.c | 5 | ||||
-rw-r--r-- | usr.bin/yacc/reader.c | 6 |
3 files changed, 8 insertions, 9 deletions
diff --git a/usr.bin/yacc/mkpar.c b/usr.bin/yacc/mkpar.c index 9bfaab62cfa..a09c7e7b6e3 100644 --- a/usr.bin/yacc/mkpar.c +++ b/usr.bin/yacc/mkpar.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mkpar.c,v 1.11 2003/06/19 16:34:53 pvalchev Exp $ */ +/* $OpenBSD: mkpar.c,v 1.12 2004/08/08 20:13:13 deraadt Exp $ */ /* $NetBSD: mkpar.c,v 1.4 1996/03/19 03:21:39 jtc Exp $ */ /* @@ -356,7 +356,7 @@ sole_reduction(int stateno) action *p; count = 0; - ruleno = 0; + ruleno = 0; for (p = parser[stateno]; p; p = p->next) { if (p->action_code == SHIFT && p->suppressed == 0) @@ -386,7 +386,7 @@ defreds(void) for (i = 0; i < nstates; i++) defred[i] = sole_reduction(i); } - + void free_action_row(action *p) { diff --git a/usr.bin/yacc/output.c b/usr.bin/yacc/output.c index 2c18431e6dc..d2af288e72d 100644 --- a/usr.bin/yacc/output.c +++ b/usr.bin/yacc/output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: output.c,v 1.12 2004/01/06 05:35:26 deraadt Exp $ */ +/* $OpenBSD: output.c,v 1.13 2004/08/08 20:13:13 deraadt Exp $ */ /* $NetBSD: output.c,v 1.4 1996/03/19 03:21:41 jtc Exp $ */ /* @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)output.c 5.7 (Berkeley) 5/24/93"; #else -static char rcsid[] = "$OpenBSD: output.c,v 1.12 2004/01/06 05:35:26 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: output.c,v 1.13 2004/08/08 20:13:13 deraadt Exp $"; #endif #endif /* not lint */ @@ -180,7 +180,6 @@ output_rule_data(void) int i; int j; - fprintf(output_file, "#if defined(__cplusplus) || defined(__STDC__)\n" "const short %slhs[] =\n" diff --git a/usr.bin/yacc/reader.c b/usr.bin/yacc/reader.c index f492aefd25e..25c9da0bbf9 100644 --- a/usr.bin/yacc/reader.c +++ b/usr.bin/yacc/reader.c @@ -1,4 +1,4 @@ -/* $OpenBSD: reader.c,v 1.16 2004/01/06 05:35:26 deraadt Exp $ */ +/* $OpenBSD: reader.c,v 1.17 2004/08/08 20:13:13 deraadt Exp $ */ /* $NetBSD: reader.c,v 1.5 1996/03/19 03:21:43 jtc Exp $ */ /* @@ -83,7 +83,7 @@ int keyword(void); void copy_ident(void); void copy_text(void); void copy_union(void); -int hexval(int); +int hexval(int); bucket * get_literal(void); int is_reserved(char *); bucket * get_name(void); @@ -756,7 +756,7 @@ get_literal(void) n = cinc; s = MALLOC(n); if (s == 0) no_space(); - + for (i = 0; i < n; ++i) s[i] = cache[i]; |