diff options
author | Eric Blake <eblake@redhat.com> | 2007-05-16 19:31:08 +0000 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2007-05-16 19:31:08 +0000 |
commit | f65607751cf60bb615ee0437a0d0984af47b0fb3 (patch) | |
tree | 2f3ceffee93dda94d4f1c1d85c0b90c61c7ad794 /newlib/libc/search | |
parent | 2ba0944446523f33f8f0f91b334eddd7f627e08e (diff) | |
download | newlib-f65607751cf60bb615ee0437a0d0984af47b0fb3.zip newlib-f65607751cf60bb615ee0437a0d0984af47b0fb3.tar.gz newlib-f65607751cf60bb615ee0437a0d0984af47b0fb3.tar.bz2 |
* libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
* libc/search/hash.c (__hash_open): Likewise.
Diffstat (limited to 'newlib/libc/search')
-rw-r--r-- | newlib/libc/search/hash.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/search/hash.c b/newlib/libc/search/hash.c index 348cbaa..8f56b6b 100644 --- a/newlib/libc/search/hash.c +++ b/newlib/libc/search/hash.c @@ -110,7 +110,11 @@ __hash_open(file, flags, mode, info, dflags) { HTAB *hashp; +#ifdef __USE_INTERNAL_STAT64 + struct stat64 statbuf; +#else struct stat statbuf; +#endif DB *dbp; int bpages, hdrsize, new_table, nsegs, save_errno; |