From a7b8a17b063179d23e185eee655a308ae91873d7 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 28 Aug 2002 02:34:45 +0000 Subject: * sysdeps/gnu/errlist-compat.awk: Include in output. From Alexandre Oliva . * sysdeps/gnu/errlist-compat.c: Regenerated. --- sysdeps/gnu/errlist-compat.awk | 1 + sysdeps/gnu/errlist-compat.c | 2 ++ 2 files changed, 3 insertions(+) (limited to 'sysdeps/gnu') diff --git a/sysdeps/gnu/errlist-compat.awk b/sysdeps/gnu/errlist-compat.awk index 84cee15..88b4d4f 100644 --- a/sysdeps/gnu/errlist-compat.awk +++ b/sysdeps/gnu/errlist-compat.awk @@ -72,6 +72,7 @@ END { new = compat[old]; n = vcount[old]; printf "#if SHLIB_COMPAT (libc, %s, %s)\n", old, new; + printf "# include \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; diff --git a/sysdeps/gnu/errlist-compat.c b/sysdeps/gnu/errlist-compat.c index 56766bf..741677b 100644 --- a/sysdeps/gnu/errlist-compat.c +++ b/sysdeps/gnu/errlist-compat.c @@ -3,6 +3,7 @@ #include #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1) +# include 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 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) -- cgit v1.1