From owner-svn-src-all@freebsd.org Fri Apr 8 10:59:07 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D979BB086E4; Fri, 8 Apr 2016 10:59:07 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AAC6F1D9A; Fri, 8 Apr 2016 10:59:07 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u38Ax6Ef078821; Fri, 8 Apr 2016 10:59:06 GMT (envelope-from kib@FreeBSD.org) Received: (from kib@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u38Ax6ER078818; Fri, 8 Apr 2016 10:59:06 GMT (envelope-from kib@FreeBSD.org) Message-Id: <201604081059.u38Ax6ER078818@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kib set sender to kib@FreeBSD.org using -f From: Konstantin Belousov Date: Fri, 8 Apr 2016 10:59:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r297704 - 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.21 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, 08 Apr 2016 10:59:08 -0000 Author: kib Date: Fri Apr 8 10:59:06 2016 New Revision: 297704 URL: https://svnweb.freebsd.org/changeset/base/297704 Log: Use ANSI C function definitions, fix spelling in a comment. Sponsored by: The FreeBSD Foundation Modified: head/lib/libthr/thread/thr_main_np.c head/lib/libthr/thread/thr_multi_np.c head/lib/libthr/thread/thr_single_np.c Modified: head/lib/libthr/thread/thr_main_np.c ============================================================================== --- head/lib/libthr/thread/thr_main_np.c Fri Apr 8 10:54:59 2016 (r297703) +++ head/lib/libthr/thread/thr_main_np.c Fri Apr 8 10:59:06 2016 (r297704) @@ -37,10 +37,10 @@ __weak_reference(_pthread_main_np, pthread_main_np); /* - * Provide the equivelant to Solaris thr_main() function + * Provide the equivalent to Solaris thr_main() function. */ int -_pthread_main_np() +_pthread_main_np(void) { if (!_thr_initial) Modified: head/lib/libthr/thread/thr_multi_np.c ============================================================================== --- head/lib/libthr/thread/thr_multi_np.c Fri Apr 8 10:54:59 2016 (r297703) +++ head/lib/libthr/thread/thr_multi_np.c Fri Apr 8 10:59:06 2016 (r297704) @@ -37,7 +37,7 @@ __weak_reference(_pthread_multi_np, pthread_multi_np); int -_pthread_multi_np() +_pthread_multi_np(void) { /* Return to multi-threaded scheduling mode: */ Modified: head/lib/libthr/thread/thr_single_np.c ============================================================================== --- head/lib/libthr/thread/thr_single_np.c Fri Apr 8 10:54:59 2016 (r297703) +++ head/lib/libthr/thread/thr_single_np.c Fri Apr 8 10:59:06 2016 (r297704) @@ -36,7 +36,8 @@ __weak_reference(_pthread_single_np, pthread_single_np); -int _pthread_single_np() +int +_pthread_single_np(void) { /* Enter single-threaded (non-POSIX) scheduling mode: */