diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2002-07-28 15:22:43 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2002-07-28 15:22:43 +0000 |
commit | 3f5f42dd5aa2a7a606b649f6c0e1690c5feadb59 (patch) | |
tree | 0ab4f351a1314e33c0c17fd74d8dcc8de571a8e6 /usr.bin/colrm | |
parent | 165587ded972f0601b948891436435d9a0cb07d3 (diff) | |
download | FreeBSD-src-3f5f42dd5aa2a7a606b649f6c0e1690c5feadb59.zip FreeBSD-src-3f5f42dd5aa2a7a606b649f6c0e1690c5feadb59.tar.gz |
ANSIify function definitions to avoid a warning.
Diffstat (limited to 'usr.bin/colrm')
-rw-r--r-- | usr.bin/colrm/colrm.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.bin/colrm/colrm.c b/usr.bin/colrm/colrm.c index 68326c6..d39df09 100644 --- a/usr.bin/colrm/colrm.c +++ b/usr.bin/colrm/colrm.c @@ -61,9 +61,7 @@ void check(FILE *); static void usage(void); int -main(argc, argv) - int argc; - char *argv[]; +main(int argc, char *argv[]) { u_long column, start, stop; int ch; @@ -126,8 +124,7 @@ main(argc, argv) } void -check(stream) - FILE *stream; +check(FILE *stream) { if (feof(stream)) exit(0); @@ -136,7 +133,7 @@ check(stream) } void -usage() +usage(void) { (void)fprintf(stderr, "usage: colrm [start [stop]]\n"); exit(1); |