From owner-svn-src-all@FreeBSD.ORG Fri Apr 12 19:47:32 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DAAB2F61; Fri, 12 Apr 2013 19:47:32 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id CD87E1A5E; Fri, 12 Apr 2013 19:47:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r3CJlWjK029582; Fri, 12 Apr 2013 19:47:32 GMT (envelope-from jilles@svn.freebsd.org) Received: (from jilles@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r3CJlW1Q029580; Fri, 12 Apr 2013 19:47:32 GMT (envelope-from jilles@svn.freebsd.org) Message-Id: <201304121947.r3CJlW1Q029580@svn.freebsd.org> From: Jilles Tjoelker Date: Fri, 12 Apr 2013 19:47:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r249425 - head/lib/libthr/thread X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Apr 2013 19:47:32 -0000 Author: jilles Date: Fri Apr 12 19:47:32 2013 New Revision: 249425 URL: http://svnweb.freebsd.org/changeset/base/249425 Log: libthr: Remove _thr_rtld_fini(), unused since r245630. Modified: head/lib/libthr/thread/thr_private.h head/lib/libthr/thread/thr_rtld.c Modified: head/lib/libthr/thread/thr_private.h ============================================================================== --- head/lib/libthr/thread/thr_private.h Fri Apr 12 19:36:53 2013 (r249424) +++ head/lib/libthr/thread/thr_private.h Fri Apr 12 19:47:32 2013 (r249425) @@ -746,7 +746,6 @@ void _thr_ref_delete(struct pthread *, s void _thr_ref_delete_unlocked(struct pthread *, struct pthread *) __hidden; int _thr_find_thread(struct pthread *, struct pthread *, int) __hidden; void _thr_rtld_init(void) __hidden; -void _thr_rtld_fini(void) __hidden; void _thr_rtld_postfork_child(void) __hidden; int _thr_stack_alloc(struct pthread_attr *) __hidden; void _thr_stack_free(struct pthread_attr *) __hidden; Modified: head/lib/libthr/thread/thr_rtld.c ============================================================================== --- head/lib/libthr/thread/thr_rtld.c Fri Apr 12 19:36:53 2013 (r249424) +++ head/lib/libthr/thread/thr_rtld.c Fri Apr 12 19:47:32 2013 (r249425) @@ -213,14 +213,3 @@ _thr_rtld_init(void) _rtld_thread_init(&li); _thr_signal_unblock(curthread); } - -void -_thr_rtld_fini(void) -{ - struct pthread *curthread; - - curthread = _get_curthread(); - _thr_signal_block(curthread); - _rtld_thread_init(NULL); - _thr_signal_unblock(curthread); -}