Staticise an inline in order to avoid a conflict between libXt.a and libXp.a.

PR:		ports/30652
Submitted by:	bsd
This commit is contained in:
Jean-Marc Zucconi 2001-09-19 23:54:27 +00:00
parent 40ba400958
commit 933fe67cd2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47995

View file

@ -0,0 +1,11 @@
--- include/Xos_r.h.orig Tue Sep 18 10:46:06 2001
+++ include/Xos_r.h Tue Sep 18 10:46:26 2001
@@ -249,7 +249,7 @@
*/
#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
-__inline__ void _Xpw_copyPasswd(_Xgetpwparams p)
+static __inline__ void _Xpw_copyPasswd(_Xgetpwparams p)
{
memcpy(&(p).pws, (p).pwp, sizeof(struct passwd));