From 0272acfc52ae6d8cf7576027da948ebaaed21086 Mon Sep 17 00:00:00 2001 From: hniksic Date: Wed, 6 Jul 2005 16:06:35 -0700 Subject: [PATCH] [svn] Fully declare fnmatch.h. --- src/ChangeLog | 4 ++++ src/sysdep.h | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 64c3eff7..ab03397b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2005-07-06 Hrvoje Niksic + + * sysdep.h: Add a full declaration of fnmatch.h. + 2005-07-06 Hrvoje Niksic * utils.c: Unconditionally include . diff --git a/src/sysdep.h b/src/sysdep.h index 028711e6..90d2a7c3 100644 --- a/src/sysdep.h +++ b/src/sysdep.h @@ -177,8 +177,7 @@ int vsnprintf (); # define FNM_PERIOD (1 << 2) /* Leading `.' is matched only explicitly. */ # define FNM_NOMATCH 1 -/* Declare the function minimally. */ -int fnmatch (); +int fnmatch (const char *, const char *, int); #endif /* Provide sig_atomic_t if the system doesn't. */ -- 2.39.2