aboutsummaryrefslogtreecommitdiffstats
path: root/lib/glob/fnmatch.h
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>1999-02-19 17:11:39 +0000
committerJari Aalto <jari.aalto@cante.net>2009-09-12 16:46:52 +0000
commitb72432fdcc59300c6fe7c9d6c8a31ad3447933f5 (patch)
treeb9899162338c2ff3fd83a8aef8831cb119e85cd7 /lib/glob/fnmatch.h
parentbc4cd23ce958feda898c618215f94d8a4e8f4ffa (diff)
downloadandroid_external_bash-b72432fdcc59300c6fe7c9d6c8a31ad3447933f5.tar.gz
android_external_bash-b72432fdcc59300c6fe7c9d6c8a31ad3447933f5.tar.bz2
android_external_bash-b72432fdcc59300c6fe7c9d6c8a31ad3447933f5.zip
Imported from ../bash-2.03.tar.gz.
Diffstat (limited to 'lib/glob/fnmatch.h')
-rw-r--r--lib/glob/fnmatch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/glob/fnmatch.h b/lib/glob/fnmatch.h
index ac0ba20..5e2cfb1 100644
--- a/lib/glob/fnmatch.h
+++ b/lib/glob/fnmatch.h
@@ -19,6 +19,8 @@ Cambridge, MA 02139, USA. */
#ifndef _FNMATCH_H
#define _FNMATCH_H 1
+#include "stdc.h"
+
/* We #undef these before defining them because some losing systems
(HP-UX A.08.07 for example) define these in <unistd.h>. */
#undef FNM_PATHNAME
@@ -41,6 +43,6 @@ Cambridge, MA 02139, USA. */
/* Match STRING against the filename pattern PATTERN,
returning zero if it matches, FNM_NOMATCH if not. */
-extern int fnmatch();
+extern int fnmatch __P((char *, char *, int));
#endif /* _FNMATCH_H */