about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-09-24 13:51:51 +0000
committerUlrich Drepper <drepper@redhat.com>1998-09-24 13:51:51 +0000
commit7a3bfc4ef45ec886010b63ba6ba4a7029b1cd526 (patch)
tree0b5f47e46d6a89c7bcb0625a22d0c10201e5ddf7 /sysdeps
parent50a1b8375ed4d08f73edee842644a6e61cc2326a (diff)
downloadglibc-7a3bfc4ef45ec886010b63ba6ba4a7029b1cd526.tar.gz
glibc-7a3bfc4ef45ec886010b63ba6ba4a7029b1cd526.tar.xz
glibc-7a3bfc4ef45ec886010b63ba6ba4a7029b1cd526.zip
Update.
1998-09-24  Mark Kettenis  <kettenis@phys.uva.nl>

	* sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
	_sys_siglist.  [!HAVE_GNU_LD]: Do not define _sys_siglist as
	sys_siglist.  This is handled correctly by the weak_alias macro.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/siglist.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sysdeps/unix/siglist.c b/sysdeps/unix/siglist.c
index 4e69530715..53776b5a42 100644
--- a/sysdeps/unix/siglist.c
+++ b/sysdeps/unix/siglist.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -18,10 +18,6 @@
 
 #include <stddef.h>
 
-#ifndef HAVE_GNU_LD
-#define _sys_siglist    sys_siglist
-#endif
-
 /* This is a list of all known signal numbers.  */
 
 const char *const _sys_siglist[] =
@@ -60,3 +56,5 @@ const char *const _sys_siglist[] =
     N_("User defined signal 2"),
     NULL
   };
+
+weak_alias (_sys_siglist, sys_siglist)