aboutsummaryrefslogtreecommitdiff
path: root/posix/testfnm.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/testfnm.c')
-rw-r--r--posix/testfnm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/posix/testfnm.c b/posix/testfnm.c
index 648dbd3..3b3aa97 100644
--- a/posix/testfnm.c
+++ b/posix/testfnm.c
@@ -2,9 +2,7 @@
#include "fnmatch.h"
int
-main (c, v)
- int c;
- char **v;
+main (int c, char *v[])
{
printf ("%d\n", fnmatch (v[1], v[2], FNM_PERIOD));
printf ("%d\n", fnmatch (v[1], v[2], FNM_CASEFOLD|FNM_PERIOD));