diff options
author | markm <markm@FreeBSD.org> | 2001-12-12 00:01:16 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-12-12 00:01:16 +0000 |
commit | d7e4e2a0061bbd394792c02327366ea30a0479fa (patch) | |
tree | 96ce037e3a144b5cdc2eae1f0c1e956dfd7bd60c /usr.bin/tail/reverse.c | |
parent | 52b8de5a2e91a1e44b08fea4b94402bcee10ff88 (diff) | |
download | FreeBSD-src-d7e4e2a0061bbd394792c02327366ea30a0479fa.zip FreeBSD-src-d7e4e2a0061bbd394792c02327366ea30a0479fa.tar.gz |
WARNS=2 fixes, use __FBSDID().
Diffstat (limited to 'usr.bin/tail/reverse.c')
-rw-r--r-- | usr.bin/tail/reverse.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/usr.bin/tail/reverse.c b/usr.bin/tail/reverse.c index 83d21d9..4cdf27c 100644 --- a/usr.bin/tail/reverse.c +++ b/usr.bin/tail/reverse.c @@ -34,25 +34,26 @@ * SUCH DAMAGE. */ +#include <sys/cdefs.h> + +__FBSDID("$FreeBSD$"); + #ifndef lint -#if 0 -static char sccsid[] = "@(#)reverse.c 8.1 (Berkeley) 6/6/93"; +static const char sccsid[] = "@(#)reverse.c 8.1 (Berkeley) 6/6/93"; #endif -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ #include <sys/param.h> #include <sys/stat.h> #include <sys/mman.h> -#include <limits.h> +#include <err.h> #include <errno.h> -#include <unistd.h> +#include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <err.h> +#include <unistd.h> + #include "extern.h" static void r_buf __P((FILE *)); @@ -101,6 +102,7 @@ reverse(fp, style, off, sbp) case REVERSE: r_buf(fp); break; + default: } } |