From: hniksic Date: Wed, 6 Jul 2005 23:06:35 +0000 (-0700) Subject: [svn] Fully declare fnmatch.h. X-Git-Tag: v1.13~769 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=0272acfc52ae6d8cf7576027da948ebaaed21086 [svn] Fully declare fnmatch.h. --- 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. */