diff options
Diffstat (limited to 'include/fnmatch.h')
| -rw-r--r-- | include/fnmatch.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/include/fnmatch.h b/include/fnmatch.h index aefb007fb..d77e4b6b0 100644 --- a/include/fnmatch.h +++ b/include/fnmatch.h @@ -12,9 +12,8 @@ Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ + License along with the GNU C Library; if not, see + <http://www.gnu.org/licenses/>. */ #ifndef _FNMATCH_H #define _FNMATCH_H 1 @@ -23,14 +22,6 @@ extern "C" { #endif -#ifndef const -# if (defined __STDC__ && __STDC__) || defined __cplusplus -# define __const const -# else -# define __const -# endif -#endif - /* 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 @@ -62,8 +53,9 @@ extern "C" { /* Match NAME against the filename pattern PATTERN, returning zero if it matches, FNM_NOMATCH if not. */ -extern int fnmatch (__const char *__pattern, __const char *__name, +extern int fnmatch (const char *__pattern, const char *__name, int __flags); +libc_hidden_proto(fnmatch) #ifdef __cplusplus } |
