summaryrefslogtreecommitdiff
path: root/libtrivfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-05-25 19:04:20 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-05-25 19:04:20 +0000
commit6562317b6a0bcc62150861ed187e406dd9b536d2 (patch)
treee44fa8eb4f0200341a7142db92edd58c5586050b /libtrivfs
parent5d8c5b609577e717a6f163f901268c41dd982a44 (diff)
Formerly handle-port.c.~2~
Diffstat (limited to 'libtrivfs')
-rw-r--r--libtrivfs/handle-port.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libtrivfs/handle-port.c b/libtrivfs/handle-port.c
index 13fb5e32..17952480 100644
--- a/libtrivfs/handle-port.c
+++ b/libtrivfs/handle-port.c
@@ -15,12 +15,15 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+#include <priv.h>
+
mach_port_t
trivfs_handle_port (mach_port_t realnode)
{
struct trivfs_control *cntl;
- cntl = ports_allocate_port (sizeof (struct control), trivfs_cntl_porttype);
+ cntl = ports_allocate_port (sizeof (struct trivfs_control),
+ trivfs_cntl_porttype);
cntl->underlying = realnode;
return ports_get_right (cntl);
}