diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-03-15 21:33:19 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-03-15 21:33:19 +0000 |
commit | eee6b1432794967d4272394dfed1e2b5cca4be39 (patch) | |
tree | 23224c276f09d0b733872790fa41c1a4cbe76787 /sysdeps/wordsize-64 | |
parent | cd2d01faa53a48640e97d55aa0bf2fee99a7c8cb (diff) | |
download | glibc-eee6b1432794967d4272394dfed1e2b5cca4be39.tar.gz |
[BZ #9759]
* dirent/dirent.h: Adjust prototypes of scandir, scandir64, alphasort,
alphasort64, versionsort, and versionsort64 to POSIX 2008.
* dirent/alphasort.c: Adjust implementation to type change.
* dirent/alphasort64.c: Likewise.
* dirent/scandir.c: Likewise.
* dirent/versionsort.c: Likewise.
* dirent/versionsort64.c: Likewise.
* sysdeps/wordsize-64/alphasort.c: Add hack to hide alphasort64
declaration.
* sysdeps/wordsize-64/versionsort.c: Add hack to hide versionsort64
declaration.
Diffstat (limited to 'sysdeps/wordsize-64')
-rw-r--r-- | sysdeps/wordsize-64/alphasort.c | 4 | ||||
-rw-r--r-- | sysdeps/wordsize-64/versionsort.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/wordsize-64/alphasort.c b/sysdeps/wordsize-64/alphasort.c index 5096166625..edc410129d 100644 --- a/sysdeps/wordsize-64/alphasort.c +++ b/sysdeps/wordsize-64/alphasort.c @@ -1,3 +1,7 @@ +#define alphasort64 rename_alphasort64 + #include "../../dirent/alphasort.c" +#undef alphasort64 + weak_alias (alphasort, alphasort64) diff --git a/sysdeps/wordsize-64/versionsort.c b/sysdeps/wordsize-64/versionsort.c index 90365a4b25..bb25550d3d 100644 --- a/sysdeps/wordsize-64/versionsort.c +++ b/sysdeps/wordsize-64/versionsort.c @@ -1,3 +1,7 @@ +#define versionsort64 rename_versionsort64 + #include "../../dirent/versionsort.c" +#undef versionsort64 + weak_alias (versionsort, versionsort64) |