diff options
| author | Mark Murray <markm@FreeBSD.org> | 2001-12-12 00:01:16 +0000 |
|---|---|---|
| committer | Mark Murray <markm@FreeBSD.org> | 2001-12-12 00:01:16 +0000 |
| commit | 814e3a92a9538486cd1621e811c475c932e32227 (patch) | |
| tree | 96ce037e3a144b5cdc2eae1f0c1e956dfd7bd60c /usr.bin/tail/forward.c | |
| parent | e5813884807c2a835996488474d93537301e1d77 (diff) | |
Notes
Diffstat (limited to 'usr.bin/tail/forward.c')
| -rw-r--r-- | usr.bin/tail/forward.c | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/usr.bin/tail/forward.c b/usr.bin/tail/forward.c index c2f347c1197a..ce6b3b43dc07 100644 --- a/usr.bin/tail/forward.c +++ b/usr.bin/tail/forward.c @@ -34,13 +34,13 @@ * SUCH DAMAGE. */ +#include <sys/cdefs.h> + +__FBSDID("$FreeBSD$"); + #ifndef lint -#if 0 -static char sccsid[] = "@(#)forward.c 8.1 (Berkeley) 6/6/93"; +static const char sccsid[] = "@(#)forward.c 8.1 (Berkeley) 6/6/93"; #endif -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ #include <sys/types.h> #include <sys/stat.h> @@ -48,14 +48,15 @@ static const char rcsid[] = #include <sys/mman.h> #include <sys/event.h> -#include <limits.h> -#include <fcntl.h> +#include <err.h> #include <errno.h> -#include <unistd.h> +#include <fcntl.h> +#include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <err.h> +#include <unistd.h> + #include "extern.h" static void rlines __P((FILE *, off_t, struct stat *)); @@ -171,6 +172,7 @@ forward(fp, style, off, sbp) if (lines(fp, off)) return; break; + default: } if (fflag) { |
