summary refs log tree commit diff
path: root/sysdeps/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/gnu')
-rw-r--r--sysdeps/gnu/errlist.awk2
-rw-r--r--sysdeps/gnu/errlist.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/gnu/errlist.awk b/sysdeps/gnu/errlist.awk
index 92828a92d6..07d00c4140 100644
--- a/sysdeps/gnu/errlist.awk
+++ b/sysdeps/gnu/errlist.awk
@@ -106,4 +106,6 @@ END {
   print "#ifdef SYS_NERR_ALIAS";
   print "weak_alias (_sys_nerr, SYS_NERR_ALIAS)";
   print "#endif";
+  print "INTDEF2(SYS_ERRLIST, _sys_errlist)";
+  print "INTDEF2(SYS_NERR, _sys_nerr)";
   }
diff --git a/sysdeps/gnu/errlist.c b/sysdeps/gnu/errlist.c
index 1b15c5e3a9..65b36dd8ae 100644
--- a/sysdeps/gnu/errlist.c
+++ b/sysdeps/gnu/errlist.c
@@ -845,3 +845,5 @@ weak_alias (_sys_errlist, SYS_ERRLIST_ALIAS)
 #ifdef SYS_NERR_ALIAS
 weak_alias (_sys_nerr, SYS_NERR_ALIAS)
 #endif
+INTDEF2(SYS_ERRLIST, _sys_errlist)
+INTDEF2(SYS_NERR, _sys_nerr)