summaryrefslogtreecommitdiff
path: root/ext/File/Glob/Glob.xs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/File/Glob/Glob.xs')
-rw-r--r--ext/File/Glob/Glob.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/File/Glob/Glob.xs b/ext/File/Glob/Glob.xs
index 40a0fbc0fc..3a526fbf03 100644
--- a/ext/File/Glob/Glob.xs
+++ b/ext/File/Glob/Glob.xs
@@ -19,7 +19,7 @@ START_MY_CXT
#ifdef WIN32
#define errfunc NULL
#else
-int
+static int
errfunc(const char *foo, int bar) {
return !(bar == EACCES || bar == ENOENT || bar == ENOTDIR);
}