From owner-svn-src-all@FreeBSD.ORG Mon Nov 3 23:37:52 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A6185621; Mon, 3 Nov 2014 23:37:52 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 92305C7C; Mon, 3 Nov 2014 23:37:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sA3NbqfL094686; Mon, 3 Nov 2014 23:37:52 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sA3NbqPw094685; Mon, 3 Nov 2014 23:37:52 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201411032337.sA3NbqPw094685@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Garrett Cooper Date: Mon, 3 Nov 2014 23:37:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r274067 - head/contrib/netbsd-tests/lib/libc/rpc 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.18-1 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: Mon, 03 Nov 2014 23:37:52 -0000 Author: ngie Date: Mon Nov 3 23:37:51 2014 New Revision: 274067 URL: https://svnweb.freebsd.org/changeset/base/274067 Log: rpc_control on FreeBSD is a public-ish API (not prefixed with __), not private like NetBSD Submitted by: pho Modified: head/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c Modified: head/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c ============================================================================== --- head/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c Mon Nov 3 23:36:41 2014 (r274066) +++ head/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c Mon Nov 3 23:37:51 2014 (r274067) @@ -47,6 +47,10 @@ reply(caddr_t replyp, struct netbuf * ra return 0; } +#ifdef __FreeBSD__ +#define __rpc_control rpc_control +#endif + extern bool __rpc_control(int, void *); static void