summaryrefslogtreecommitdiffstats
path: root/usr.bin/unvis/unvis.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/unvis/unvis.c')
-rw-r--r--usr.bin/unvis/unvis.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/usr.bin/unvis/unvis.c b/usr.bin/unvis/unvis.c
index cfcf41b..395c9ad 100644
--- a/usr.bin/unvis/unvis.c
+++ b/usr.bin/unvis/unvis.c
@@ -55,9 +55,7 @@ void process(FILE *, const char *);
static void usage(void);
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc, char *argv[])
{
FILE *fp;
int ch;
@@ -85,18 +83,16 @@ main(argc, argv)
}
static void
-usage()
+usage(void)
{
fprintf(stderr, "usage: unvis [file ...]\n");
exit(1);
}
void
-process(fp, filename)
- FILE *fp;
- const char *filename;
+process(FILE *fp, const char *filename)
{
- register int offset = 0, c, ret;
+ int offset = 0, c, ret;
int state = 0;
char outc;
OpenPOWER on IntegriCloud