From c5ccd92f4cafac5c3655f01897a91ef901c26e02 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 15 Jul 1999 11:45:51 +0000 Subject: [PATCH] Update. 1999-07-15 Ulrich Drepper * posix/fnmatch.h: Use __name instead of __string in prototype to allow use outside glibc. --- ChangeLog | 5 +++++ posix/fnmatch.h | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 888d6dc..6cefbf5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-07-15 Ulrich Drepper + + * posix/fnmatch.h: Use __name instead of __string in prototype to + allow use outside glibc. + 1999-07-14 Ulrich Drepper * time/tst-strptime.c (main): Add one more test case. Produce diff --git a/posix/fnmatch.h b/posix/fnmatch.h index eeaee7f..cc3ec37 100644 --- a/posix/fnmatch.h +++ b/posix/fnmatch.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 92, 93, 96, 97, 98 Free Software Foundation, Inc. +/* Copyright (C) 1991, 92, 93, 96, 97, 98, 99 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -72,9 +72,9 @@ extern "C" { # define FNM_NOSYS (-1) #endif -/* Match STRING against the filename pattern PATTERN, +/* Match NAME against the filename pattern PATTERN, returning zero if it matches, FNM_NOMATCH if not. */ -extern int fnmatch __P ((__const char *__pattern, __const char *__string, +extern int fnmatch __P ((__const char *__pattern, __const char *__name, int __flags)); #ifdef __cplusplus -- 2.7.4