]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(__sigaction, sigaction): Protect weak_alias and libc_hidden_weak with
authorUlrich Drepper <drepper@redhat.com>
Fri, 3 Jan 2003 00:42:10 +0000 (00:42 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 3 Jan 2003 00:42:10 +0000 (00:42 +0000)
#ifndef LIBC_SIGACTION.

sysdeps/unix/sysv/linux/arm/sigaction.c
sysdeps/unix/sysv/linux/mips/sigaction.c

index 40ecb3224e147446d8d0467d31d3022fe3727f54..46ff2b1599f33b2babb7c82e6885adb653f51064 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1997,1998,1999,2000,2002,2003 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
@@ -149,6 +149,9 @@ __libc_sigaction (sig, act, oact)
   return result;
 }
 libc_hidden_def (__libc_sigaction)
+
+#ifndef LIBC_SIGACTION
 weak_alias (__libc_sigaction, __sigaction)
 libc_hidden_weak (__sigaction)
 weak_alias (__libc_sigaction, sigaction)
+#endif
index 0e5cfb7569446e15de611ed6147c4bc965aa02ab..0dee8ccc7e9dcc43fdc3abbef20e332f6c2148bf 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1997,1998,1999,2000,2002,2003 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
@@ -135,6 +135,9 @@ __libc_sigaction (sig, act, oact)
 #endif
 }
 libc_hidden_def (__libc_sigaction)
+
+#ifndef LIBC_SIGACTION
 weak_alias (__libc_sigaction, __sigaction)
 libc_hidden_weak (__sigaction)
 weak_alias (__libc_sigaction, sigaction)
+#endif