diff options
Diffstat (limited to 'usr.bin/vis/foldit.c')
-rw-r--r-- | usr.bin/vis/foldit.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/usr.bin/vis/foldit.c b/usr.bin/vis/foldit.c index 898e341..6ad82c2 100644 --- a/usr.bin/vis/foldit.c +++ b/usr.bin/vis/foldit.c @@ -31,22 +31,24 @@ * SUCH DAMAGE. */ +#include <sys/cdefs.h> + +__FBSDID("$FreeBSD$"); + #ifndef lint -#if 0 -static char sccsid[] = "@(#)foldit.c 8.1 (Berkeley) 6/6/93"; +static const char sccsid[] = "@(#)foldit.c 8.1 (Berkeley) 6/6/93"; #endif -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ #include <stdio.h> +#include "extern.h" + int foldit(chunk, col, max) char *chunk; int col, max; { - register char *cp; + char *cp; /* * Keep track of column position. Insert hidden newline |