]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - lib/glob/fnmatch.h
Imported from ../bash-2.03.tar.gz.
[thirdparty/bash.git] / lib / glob / fnmatch.h
index ac0ba202090122e0c6644cab222fb1083be08c47..5e2cfb1ee713b97ef22ed6f2219c6a315a64e1cb 100644 (file)
@@ -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 */