diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-09-23 04:10:15 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-09-23 04:10:15 +0000 |
commit | 5b9dbaee0efeaf013f1e71dca96cd3d56c7f4d85 (patch) | |
tree | 3b24dfaa3185c3c5e16980d07b08585154d1acd4 /usr.bin | |
parent | e5c537e48a40d69509c6f79c53a8eb9d80ea3ef7 (diff) |
Add missing includes, breaks and semicolons to appease gcc3; David Krause
deraadt@ OK
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/fgen/fgen.l | 3 | ||||
-rw-r--r-- | usr.bin/last/last.c | 5 | ||||
-rw-r--r-- | usr.bin/lndir/lndir.c | 3 | ||||
-rw-r--r-- | usr.bin/strings/strings.c | 5 |
4 files changed, 10 insertions, 6 deletions
diff --git a/usr.bin/fgen/fgen.l b/usr.bin/fgen/fgen.l index f1f3b375a1f..1b93e14eda6 100644 --- a/usr.bin/fgen/fgen.l +++ b/usr.bin/fgen/fgen.l @@ -1,5 +1,5 @@ %{ -/* $OpenBSD: fgen.l,v 1.5 2002/07/12 00:26:24 deraadt Exp $ */ +/* $OpenBSD: fgen.l,v 1.6 2002/09/23 04:10:14 millert Exp $ */ /* $NetBSD: fgen.l,v 1.12 2001/06/13 10:46:05 wiz Exp $ */ /* FLEX input for FORTH input file scanner */ /* @@ -1955,6 +1955,7 @@ tokenize(input) } break; default: + break; } } return; diff --git a/usr.bin/last/last.c b/usr.bin/last/last.c index 290450739d3..125618b8512 100644 --- a/usr.bin/last/last.c +++ b/usr.bin/last/last.c @@ -1,4 +1,4 @@ -/* $OpenBSD: last.c,v 1.19 2002/02/16 21:27:47 millert Exp $ */ +/* $OpenBSD: last.c,v 1.20 2002/09/23 04:10:14 millert Exp $ */ /* $NetBSD: last.c,v 1.6 1994/12/24 16:49:02 cgd Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)last.c 8.2 (Berkeley) 4/2/94"; #endif -static char rcsid[] = "$OpenBSD: last.c,v 1.19 2002/02/16 21:27:47 millert Exp $"; +static char rcsid[] = "$OpenBSD: last.c,v 1.20 2002/09/23 04:10:14 millert Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -223,6 +223,7 @@ checkargs() "Warning: Ignoring username[s]\n"); break; default: + break; /* PRINT NOTHING */ } } diff --git a/usr.bin/lndir/lndir.c b/usr.bin/lndir/lndir.c index 10218330093..b5f65b8cc28 100644 --- a/usr.bin/lndir/lndir.c +++ b/usr.bin/lndir/lndir.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lndir.c,v 1.10 2002/06/17 07:06:39 deraadt Exp $ */ +/* $OpenBSD: lndir.c,v 1.11 2002/09/23 04:10:14 millert Exp $ */ /* $XConsortium: lndir.c /main/15 1995/08/30 10:56:18 gildea $ */ /* @@ -296,6 +296,7 @@ dodir(char *fn, struct stat *fs, struct stat *ts, int rel) warn("%s", dp->d_name); } next: + ; } closedir(df); diff --git a/usr.bin/strings/strings.c b/usr.bin/strings/strings.c index 52812d9cd33..5ab6a58f6ff 100644 --- a/usr.bin/strings/strings.c +++ b/usr.bin/strings/strings.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strings.c,v 1.7 2002/02/16 21:27:53 millert Exp $ */ +/* $OpenBSD: strings.c,v 1.8 2002/09/23 04:10:14 millert Exp $ */ /* $NetBSD: strings.c,v 1.7 1995/02/15 15:49:19 jtc Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)strings.c 8.2 (Berkeley) 1/28/94"; #endif -static char rcsid[] = "$OpenBSD: strings.c,v 1.7 2002/02/16 21:27:53 millert Exp $"; +static char rcsid[] = "$OpenBSD: strings.c,v 1.8 2002/09/23 04:10:14 millert Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -244,6 +244,7 @@ start: putchar((char)ch); putchar('\n'); out: + ; } cnt = 0; } |