about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-04-18 17:59:42 +0000
committerRoland McGrath <roland@gnu.org>1995-04-18 17:59:42 +0000
commit2657da50f0ebedb8c7bf5d51536e842b18e4775a (patch)
treeb93bebe99e8e35a61e950a61e19a6ecb3b89c9a4 /sysdeps/unix
parent5fa258865198ba3b54d79d961f2092a407a914e8 (diff)
downloadglibc-2657da50f0ebedb8c7bf5d51536e842b18e4775a.tar.gz
glibc-2657da50f0ebedb8c7bf5d51536e842b18e4775a.tar.xz
glibc-2657da50f0ebedb8c7bf5d51536e842b18e4775a.zip
(main): Don't generate "#ifdef HAVE_WEAK_SYMBOLS" #defns.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/make_errlist.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sysdeps/unix/make_errlist.c b/sysdeps/unix/make_errlist.c
index 705dcfe88a..8c2b250134 100644
--- a/sysdeps/unix/make_errlist.c
+++ b/sysdeps/unix/make_errlist.c
@@ -31,11 +31,6 @@ main ()
   puts ("#include \"ansidecl.h\"\n#include <stddef.h>\n");
   puts ("\n/* This is a list of all known `errno' codes.  */\n");
 
-  puts ("#ifndef HAVE_WEAK_SYMBOLS");
-  puts ("#define _sys_nerr\tsys_nerr");
-  puts ("#define _sys_errlist\tsys_errlist");
-  puts ("#endif");
-
   printf ("\nCONST int _sys_nerr = %d;\n\n", sys_nerr);
   puts ("CONST char *CONST _sys_errlist[] =\n  {");