diff options
Diffstat (limited to 'usr.bin/col')
-rw-r--r-- | usr.bin/col/col.c | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/usr.bin/col/col.c b/usr.bin/col/col.c index 73d4e0f..b45dd67 100644 --- a/usr.bin/col/col.c +++ b/usr.bin/col/col.c @@ -118,9 +118,7 @@ int pass_unknown_seqs; /* pass unknown control sequences */ } while (0) int -main(argc, argv) - int argc; - char **argv; +main(int argc, char **argv) { int ch; CHAR *c; @@ -330,8 +328,7 @@ main(argc, argv) } void -flush_lines(nflush) - int nflush; +flush_lines(int nflush) { LINE *l; @@ -357,7 +354,7 @@ flush_lines(nflush) * feeds. */ void -flush_blanks() +flush_blanks(void) { int half, i, nb; @@ -386,8 +383,7 @@ flush_blanks() * and character set shifts. */ void -flush_line(l) - LINE *l; +flush_line(LINE *l) { CHAR *c, *endc; int nchars, last_col, this_col; @@ -494,7 +490,7 @@ flush_line(l) static LINE *line_freelist; LINE * -alloc_line() +alloc_line(void) { LINE *l; int i; @@ -515,8 +511,7 @@ alloc_line() } void -free_line(l) - LINE *l; +free_line(LINE *l) { l->l_next = line_freelist; @@ -524,7 +519,7 @@ free_line(l) } void -usage() +usage(void) { (void)fprintf(stderr, "usage: col [-bfhpx] [-l nline]\n"); @@ -532,8 +527,7 @@ usage() } void -dowarn(line) - int line; +dowarn(int line) { warnx("warning: can't back up %s", |