Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/arch/ns32k/sys Add #ifdef __weak_alias around use o...



details:   https://anonhg.NetBSD.org/src/rev/d4f3717cf140
branches:  trunk
changeset: 555214:d4f3717cf140
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Nov 11 19:10:02 2003 +0000

description:
Add #ifdef __weak_alias around use of __weak_alias.

diffstat:

 lib/libc/arch/ns32k/sys/__sigaction14_sigtramp.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r ad39ac383c77 -r d4f3717cf140 lib/libc/arch/ns32k/sys/__sigaction14_sigtramp.c
--- a/lib/libc/arch/ns32k/sys/__sigaction14_sigtramp.c  Tue Nov 11 18:29:58 2003 +0000
+++ b/lib/libc/arch/ns32k/sys/__sigaction14_sigtramp.c  Tue Nov 11 19:10:02 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: __sigaction14_sigtramp.c,v 1.2 2003/11/06 02:46:44 christos Exp $      */
+/*     $NetBSD: __sigaction14_sigtramp.c,v 1.3 2003/11/11 19:10:02 simonb Exp $        */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -43,7 +43,9 @@
 
 #include "extern.h"
 
+#ifdef __weak_alias
 __weak_alias(__sigaction14, __libc_sigaction14)
+#endif
 
 int
 __libc_sigaction14(int sig, const struct sigaction *act, struct sigaction *oact)



Home | Main Index | Thread Index | Old Index