Add #ifdef __weak_alias around use of __weak_alias.
This commit is contained in:
parent
faf6ed6d51
commit
7239f40663
@ -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.
|
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||||
@ -43,7 +43,9 @@
|
|||||||
|
|
||||||
#include "extern.h"
|
#include "extern.h"
|
||||||
|
|
||||||
|
#ifdef __weak_alias
|
||||||
__weak_alias(__sigaction14, __libc_sigaction14)
|
__weak_alias(__sigaction14, __libc_sigaction14)
|
||||||
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
__libc_sigaction14(int sig, const struct sigaction *act, struct sigaction *oact)
|
__libc_sigaction14(int sig, const struct sigaction *act, struct sigaction *oact)
|
||||||
|
Loading…
Reference in New Issue
Block a user