+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.
+
1998-09-24 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
-/* 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
#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[] =
N_("User defined signal 2"),
NULL
};
+
+weak_alias (_sys_siglist, sys_siglist)