summaryrefslogtreecommitdiff
path: root/ext/File
diff options
context:
space:
mode:
authorAlexey Tourbin <at@altlinux.ru>2005-06-05 00:00:00 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-06-07 15:58:23 +0000
commitf681a178ed5ab9eaae71b97c6eea3744c0304d67 (patch)
treeea8e2ee65565de799eab4ff86110e667abd8867e /ext/File
parentdafda6d147bb18b3050b636ac1d31818028dd936 (diff)
downloadperl-f681a178ed5ab9eaae71b97c6eea3744c0304d67.tar.gz
make some more functions static
Subject: [PATCH] B/C/C.xs: static my_runops() Message-ID: <20050604232451.GT5867@solemn.turbinal.org> Subject: [PATCH] Devel/Peek/Peek.xs: make plain C functions static Message-ID: <20050604232952.GU5867@solemn.turbinal.org> Subject: [PATCH] File/Glob/Glob.xs: errfunc() should be static Message-ID: <20050604233414.GV5867@solemn.turbinal.org> all being : Date: Sun, 5 Jun 2005 p4raw-id: //depot/perl@24734
Diffstat (limited to 'ext/File')
-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);
}