diff options
author | Eli Zaretskii <eliz@gnu.org> | 2007-12-22 11:28:49 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2007-12-22 11:28:49 +0000 |
commit | 84e9bcd65eca0af12963a70a2c48c053fce1840a (patch) | |
tree | 462098ca02d96390de0a6caec58df405cf13ce41 /glob/glob.c | |
parent | 91b016c4148c51573ca3a3eb6bc2ae5d623909ce (diff) | |
download | gunmake-84e9bcd65eca0af12963a70a2c48c053fce1840a.tar.gz |
glob/glob.c [__GNU_LIBRARY__ && __DJGPP__]: Add a realloc declaration
that matches the one in the DJGPP libc.
Diffstat (limited to 'glob/glob.c')
-rw-r--r-- | glob/glob.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/glob/glob.c b/glob/glob.c index 1f30617..b9063c3 100644 --- a/glob/glob.c +++ b/glob/glob.c @@ -190,12 +190,15 @@ __inline # ifdef WINDOWS32 static void * my_realloc (void *p, unsigned int n) +# elif defined(__DJGPP__) +static void * +my_realloc (void *p, size_t n) # else static char * my_realloc (p, n) char *p; unsigned int n; -# endif +# endif { /* These casts are the for sake of the broken Ultrix compiler, which warns of illegal pointer combinations otherwise. */ |