Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Nov 2014 23:37:52 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
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
Message-ID:  <201411032337.sA3NbqPw094685@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411032337.sA3NbqPw094685>