From owner-svn-src-all@freebsd.org Sat Apr 6 20:38:45 2019 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3D12156C27F; Sat, 6 Apr 2019 20:38:45 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 55BFA6AF3F; Sat, 6 Apr 2019 20:38:45 +0000 (UTC) (envelope-from cem@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3BCE31D06; Sat, 6 Apr 2019 20:38:45 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x36Kcj1J001350; Sat, 6 Apr 2019 20:38:45 GMT (envelope-from cem@FreeBSD.org) Received: (from cem@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x36KciZW001348; Sat, 6 Apr 2019 20:38:44 GMT (envelope-from cem@FreeBSD.org) Message-Id: <201904062038.x36KciZW001348@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cem set sender to cem@FreeBSD.org using -f From: Conrad Meyer Date: Sat, 6 Apr 2019 20:38:44 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r345991 - in head/sys: kern sys X-SVN-Group: head X-SVN-Commit-Author: cem X-SVN-Commit-Paths: in head/sys: kern sys X-SVN-Commit-Revision: 345991 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 55BFA6AF3F X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.962,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 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: Sat, 06 Apr 2019 20:38:45 -0000 Author: cem Date: Sat Apr 6 20:38:44 2019 New Revision: 345991 URL: https://svnweb.freebsd.org/changeset/base/345991 Log: kern/subr_pctrie: Convert old-style boolean_t to plain "bool" No functional change. Modified: head/sys/kern/subr_pctrie.c head/sys/sys/pctrie.h Modified: head/sys/kern/subr_pctrie.c ============================================================================== --- head/sys/kern/subr_pctrie.c Sat Apr 6 18:17:18 2019 (r345990) +++ head/sys/kern/subr_pctrie.c Sat Apr 6 20:38:44 2019 (r345991) @@ -166,7 +166,7 @@ pctrie_setroot(struct pctrie *ptree, struct pctrie_nod /* * Returns TRUE if the specified node is a leaf and FALSE otherwise. */ -static __inline boolean_t +static __inline bool pctrie_isleaf(struct pctrie_node *node) { @@ -218,7 +218,7 @@ pctrie_keydiff(uint64_t index1, uint64_t index2) * Returns TRUE if it can be determined that key does not belong to the * specified node. Otherwise, returns FALSE. */ -static __inline boolean_t +static __inline bool pctrie_keybarr(struct pctrie_node *node, uint64_t idx) { @@ -226,7 +226,7 @@ pctrie_keybarr(struct pctrie_node *node, uint64_t idx) idx = pctrie_trimkey(idx, node->pn_clev + 1); return (idx != node->pn_owner); } - return (FALSE); + return (false); } /* Modified: head/sys/sys/pctrie.h ============================================================================== --- head/sys/sys/pctrie.h Sat Apr 6 18:17:18 2019 (r345990) +++ head/sys/sys/pctrie.h Sat Apr 6 20:38:44 2019 (r345991) @@ -128,7 +128,7 @@ pctrie_init(struct pctrie *ptree) ptree->pt_root = 0; } -static __inline boolean_t +static __inline bool pctrie_is_empty(struct pctrie *ptree) {