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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/unvis/unvis.c b/usr.bin/unvis/unvis.c
index 8cfe1f2..d582a83 100644
--- a/usr.bin/unvis/unvis.c
+++ b/usr.bin/unvis/unvis.c
@@ -51,11 +51,12 @@ static const char rcsid[] =
#include <unistd.h>
#include <vis.h>
-void process __P((FILE *, char *));
+void process __P((FILE *, const char *));
static void usage __P((void));
int
main(argc, argv)
+ int argc;
char *argv[];
{
FILE *fp;
@@ -93,7 +94,7 @@ usage()
void
process(fp, filename)
FILE *fp;
- char *filename;
+ const char *filename;
{
register int offset = 0, c, ret;
int state = 0;
OpenPOWER on IntegriCloud