diff options
author | markm <markm@FreeBSD.org> | 2001-12-11 23:02:44 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-12-11 23:02:44 +0000 |
commit | b4090206ebab47e731a873f68d228202a75b8cb4 (patch) | |
tree | 220eba09c778e8ac9444a19f8b6a660a7d70f81b /usr.bin/vis/vis.c | |
parent | 732000933870238e7690d12e77d5f47dbb169dc4 (diff) | |
download | FreeBSD-src-b4090206ebab47e731a873f68d228202a75b8cb4.zip FreeBSD-src-b4090206ebab47e731a873f68d228202a75b8cb4.tar.gz |
WARNS=2 fix, add externs.h to centralise external prototypes,
use __FBSDID(), kill register keyword.
Diffstat (limited to 'usr.bin/vis/vis.c')
-rw-r--r-- | usr.bin/vis/vis.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/usr.bin/vis/vis.c b/usr.bin/vis/vis.c index 740308e..c1f22e9 100644 --- a/usr.bin/vis/vis.c +++ b/usr.bin/vis/vis.c @@ -31,19 +31,19 @@ * SUCH DAMAGE. */ +#include <sys/cdefs.h> + +__FBSDID("$FreeBSD$"); + #ifndef lint static const char copyright[] = "@(#) Copyright (c) 1989, 1993\n\ The Regents of the University of California. All rights reserved.\n"; -#endif /* not lint */ +#endif #ifndef lint -#if 0 -static char sccsid[] = "@(#)vis.c 8.1 (Berkeley) 6/6/93"; +static const char sccsid[] = "@(#)vis.c 8.1 (Berkeley) 6/6/93"; #endif -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ #include <err.h> #include <locale.h> @@ -52,11 +52,12 @@ static const char rcsid[] = #include <unistd.h> #include <vis.h> +#include "extern.h" + int eflags, fold, foldwidth=80, none, markeol, debug; void process __P((FILE *)); static void usage __P((void)); -extern int foldit __P((char *, int, int)); int main(argc, argv) |