summaryrefslogtreecommitdiff
path: root/glob
diff options
context:
space:
mode:
Diffstat (limited to 'glob')
-rw-r--r--glob/ChangeLog5
-rw-r--r--glob/glob.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/glob/ChangeLog b/glob/ChangeLog
index 570c19c..68727be 100644
--- a/glob/ChangeLog
+++ b/glob/ChangeLog
@@ -1,3 +1,8 @@
+2006-02-24 Eli Zaretskii <eliz@gnu.org>
+
+ * glob.c (my_malloc) [WINDOWS32]: Provide a full ISO C prototype,
+ to avoid compiler warnings.
+
2005-06-25 Paul D. Smith <psmith@gnu.org>
* fnmatch.h, glob.h [WINDOWS32]: Fix ifdefs in headers.
diff --git a/glob/glob.c b/glob/glob.c
index 8deb273..a5e6a19 100644
--- a/glob/glob.c
+++ b/glob/glob.c
@@ -188,12 +188,13 @@ __inline
# ifndef __SASC
# ifdef WINDOWS32
static void *
+my_realloc (void *p, unsigned int n)
# else
static char *
-# endif
my_realloc (p, n)
char *p;
unsigned int n;
+# endif
{
/* These casts are the for sake of the broken Ultrix compiler,
which warns of illegal pointer combinations otherwise. */