svn commit: r252429 - head/lib/libc/gen
Jilles Tjoelker
jilles at FreeBSD.org
Sun Jun 30 20:51:16 UTC 2013
Author: jilles
Date: Sun Jun 30 20:51:15 2013
New Revision: 252429
URL: http://svnweb.freebsd.org/changeset/base/252429
Log:
libc: Access _sigintr more efficiently.
The variable _sigintr is not exported via the version script; therefore,
tell the compiler that no indirection (to allow interposition) is needed.
Modified:
head/lib/libc/gen/siginterrupt.c
head/lib/libc/gen/signal.c
Modified: head/lib/libc/gen/siginterrupt.c
==============================================================================
--- head/lib/libc/gen/siginterrupt.c Sun Jun 30 20:27:31 2013 (r252428)
+++ head/lib/libc/gen/siginterrupt.c Sun Jun 30 20:51:15 2013 (r252429)
@@ -46,7 +46,7 @@ int
siginterrupt(sig, flag)
int sig, flag;
{
- extern sigset_t _sigintr;
+ extern sigset_t _sigintr __hidden;
struct sigaction sa;
int ret;
Modified: head/lib/libc/gen/signal.c
==============================================================================
--- head/lib/libc/gen/signal.c Sun Jun 30 20:27:31 2013 (r252428)
+++ head/lib/libc/gen/signal.c Sun Jun 30 20:51:15 2013 (r252429)
@@ -41,7 +41,7 @@ __FBSDID("$FreeBSD$");
#include "un-namespace.h"
#include "libc_private.h"
-sigset_t _sigintr; /* shared with siginterrupt */
+sigset_t _sigintr __hidden; /* shared with siginterrupt */
sig_t
signal(s, a)
More information about the svn-src-all
mailing list