From owner-svn-src-stable-10@FreeBSD.ORG Sat Jan 4 17:36:13 2014 Return-Path: Delivered-To: svn-src-stable-10@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B467E6A6; Sat, 4 Jan 2014 17:36:13 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A08C1122E; Sat, 4 Jan 2014 17:36:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s04HaD7L019304; Sat, 4 Jan 2014 17:36:13 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s04HaDWk019303; Sat, 4 Jan 2014 17:36:13 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201401041736.s04HaDWk019303@svn.freebsd.org> From: Dimitry Andric Date: Sat, 4 Jan 2014 17:36:13 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r260266 - stable/10/sys/sys X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-10@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for only the 10-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jan 2014 17:36:13 -0000 Author: dim Date: Sat Jan 4 17:36:13 2014 New Revision: 260266 URL: http://svnweb.freebsd.org/changeset/base/260266 Log: MFC r260017: Mark unused static inline functions defined by the PCTRIE_DEFINE() macro as __unused, so warnings about them are avoided. Modified: stable/10/sys/sys/pctrie.h Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/sys/pctrie.h ============================================================================== --- stable/10/sys/sys/pctrie.h Sat Jan 4 17:33:05 2014 (r260265) +++ stable/10/sys/sys/pctrie.h Sat Jan 4 17:36:13 2014 (r260266) @@ -83,14 +83,14 @@ name##_PCTRIE_LOOKUP_LE(struct pctrie *p return name##_PCTRIE_VAL2PTR(pctrie_lookup_le(ptree, key)); \ } \ \ -static __inline struct type * \ +static __inline __unused struct type * \ name##_PCTRIE_LOOKUP_GE(struct pctrie *ptree, uint64_t key) \ { \ \ return name##_PCTRIE_VAL2PTR(pctrie_lookup_ge(ptree, key)); \ } \ \ -static __inline void \ +static __inline __unused void \ name##_PCTRIE_RECLAIM(struct pctrie *ptree) \ { \ \