mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 15:20:10 +00:00
* sysdeps/gnu/errlist-compat.awk: Include <bits/wordsize.h> in output.
From Alexandre Oliva <aoliva@redhat.com>. * sysdeps/gnu/errlist-compat.c: Regenerated.
This commit is contained in:
parent
9cd2726c93
commit
a7b8a17b06
@ -1,3 +1,9 @@
|
||||
2002-08-27 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* sysdeps/gnu/errlist-compat.awk: Include <bits/wordsize.h> in output.
|
||||
From Alexandre Oliva <aoliva@redhat.com>.
|
||||
* sysdeps/gnu/errlist-compat.c: Regenerated.
|
||||
|
||||
2002-08-27 Brian Youmans <3diff@gnu.org>
|
||||
|
||||
* sysdeps/ieee754/flt-32/e_asinf.c: Modified copying permission
|
||||
|
@ -72,6 +72,7 @@ END {
|
||||
new = compat[old];
|
||||
n = vcount[old];
|
||||
printf "#if SHLIB_COMPAT (libc, %s, %s)\n", old, new;
|
||||
printf "# include <bits/wordsize.h>\n";
|
||||
printf "extern const char *const __sys_errlist_%s[];\n", old;
|
||||
printf "const int __sys_nerr_%s = %d;\n", old, n;
|
||||
printf "strong_alias (_sys_errlist_internal, __sys_errlist_%s)\n", old;
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include <shlib-compat.h>
|
||||
|
||||
#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
|
||||
# include <bits/wordsize.h>
|
||||
extern const char *const __sys_errlist_GLIBC_2_0[];
|
||||
const int __sys_nerr_GLIBC_2_0 = 123;
|
||||
strong_alias (_sys_errlist_internal, __sys_errlist_GLIBC_2_0)
|
||||
@ -18,6 +19,7 @@ compat_symbol (libc, ___sys_nerr_GLIBC_2_0, _sys_nerr, GLIBC_2_0);
|
||||
#endif
|
||||
|
||||
#if SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_3)
|
||||
# include <bits/wordsize.h>
|
||||
extern const char *const __sys_errlist_GLIBC_2_1[];
|
||||
const int __sys_nerr_GLIBC_2_1 = 125;
|
||||
strong_alias (_sys_errlist_internal, __sys_errlist_GLIBC_2_1)
|
||||
|
Loading…
Reference in New Issue
Block a user