aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/setcontext.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/setcontext.c')
-rw-r--r--lib/libc/sys/setcontext.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/libc/sys/setcontext.c b/lib/libc/sys/setcontext.c
index 31b888f2bcff..96b5dc115067 100644
--- a/lib/libc/sys/setcontext.c
+++ b/lib/libc/sys/setcontext.c
@@ -1,6 +1,5 @@
/*
* Copyright (c) 2014 The FreeBSD Foundation.
- * All rights reserved.
*
* Portions of this software were developed by Konstantin Belousov
* under sponsorship from the FreeBSD Foundation.
@@ -30,9 +29,6 @@
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
-
#include <sys/types.h>
#include <ucontext.h>
#include "libc_private.h"
@@ -46,7 +42,5 @@ __sym_default(setcontext, setcontext, FBSD_1.2);
int
setcontext(const ucontext_t *uc)
{
-
- return (((int (*)(const ucontext_t *))
- __libc_interposing[INTERPOS_setcontext])(uc));
+ return (INTERPOS_SYS(setcontext, uc));
}