summaryrefslogtreecommitdiff
path: root/glob/glob.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2005-06-25 23:00:17 +0000
committerPaul Smith <psmith@gnu.org>2005-06-25 23:00:17 +0000
commitf388233b033ccae26e567fb573fd3d7a87c71744 (patch)
tree1c51defb3a7e907880bb538ce9fd19bf6333d7d2 /glob/glob.c
parent6cdaff0948bbec3220d5cb071f79d5f2e1c9b083 (diff)
downloadgunmake-f388233b033ccae26e567fb573fd3d7a87c71744.tar.gz
Fix Savannah bug # 13478. If -L is given, take the latest mtime for a
symlink even if it is "dangling" (it doesn't resolve to a real file).
Diffstat (limited to 'glob/glob.c')
-rw-r--r--glob/glob.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/glob/glob.c b/glob/glob.c
index 80d667c..20c48f7 100644
--- a/glob/glob.c
+++ b/glob/glob.c
@@ -299,11 +299,8 @@ static int glob_in_dir __P ((const char *pattern, const char *directory,
static int prefix_array __P ((const char *prefix, char **array, size_t n));
static int collated_compare __P ((const __ptr_t, const __ptr_t));
-#ifdef VMS
-/* these compilers like prototypes */
#if !defined _LIBC || !defined NO_GLOB_PATTERN_P
-int __glob_pattern_p (const char *pattern, int quote);
-#endif
+int __glob_pattern_p __P ((const char *pattern, int quote));
#endif
/* Find the end of the sub-pattern in a brace expression. We define