aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/un.h
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2008-10-06 18:43:11 +0000
committerRobert Watson <rwatson@FreeBSD.org>2008-10-06 18:43:11 +0000
commit2c8995842cfdc4cc9e8bf40e298ac369baf6a624 (patch)
treeef9fee5539c384f3f6d596a0697b6cc0f5a44098 /sys/sys/un.h
parent4759ebf0157e2a413136d5d643b38f7f221d87ed (diff)
downloadsrc-2c8995842cfdc4cc9e8bf40e298ac369baf6a624.tar.gz
src-2c8995842cfdc4cc9e8bf40e298ac369baf6a624.zip
Now that portalfs doesn't directly invoke uipc_connect2(), make it a
static symbol. MFC after: 3 days
Notes
Notes: svn path=/head/; revision=183650
Diffstat (limited to 'sys/sys/un.h')
-rw-r--r--sys/sys/un.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/sys/un.h b/sys/sys/un.h
index 1452c33de222..1f4731e6e810 100644
--- a/sys/sys/un.h
+++ b/sys/sys/un.h
@@ -57,18 +57,13 @@ struct sockaddr_un {
#define LOCAL_CREDS 0x002 /* pass credentials to receiver */
#define LOCAL_CONNWAIT 0x004 /* connects block until accepted */
-#ifdef _KERNEL
-
-struct socket;
-int uipc_connect2(struct socket *so1, struct socket *so2);
-
-#else /* !_KERNEL */
+#ifndef _KERNEL
/* actual length of an initialized sockaddr_un */
#define SUN_LEN(su) \
(sizeof(*(su)) - sizeof((su)->sun_path) + strlen((su)->sun_path))
-#endif /* _KERNEL */
+#endif /* !_KERNEL */
#endif /* __BSD_VISIBLE */