From f04292bb198167cc4c2e1e223a9163af65891f26 Mon Sep 17 00:00:00 2001 From: davidxu Date: Sat, 7 Jan 2006 06:01:43 +0000 Subject: [PATCH] Remove functions i386_get_gsbase and i386_set_gsbase, they were already in libc. --- lib/libthr/arch/i386/i386/pthread_md.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/libthr/arch/i386/i386/pthread_md.c b/lib/libthr/arch/i386/i386/pthread_md.c index e99e189b7054..20e76c84066d 100644 --- a/lib/libthr/arch/i386/i386/pthread_md.c +++ b/lib/libthr/arch/i386/i386/pthread_md.c @@ -58,17 +58,3 @@ _tcb_dtor(struct tcb *tcb) _rtld_free_tls(tcb, sizeof(struct tcb), 16); } - -int -i386_get_gsbase(void **addr) -{ - - return (sysarch(I386_GET_GSBASE, addr)); -} - -int -i386_set_gsbase(void *addr) -{ - - return (sysarch(I386_SET_GSBASE, &addr)); -}