diff options
author | Roland McGrath <roland@gnu.org> | 1999-07-11 19:41:42 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-07-11 19:41:42 +0000 |
commit | 6e3fda9082c567aa4ac4fe4b819630394a7bbe3c (patch) | |
tree | c66bac4a094f190a7a3302d964253a341f98e40d /pfinet/pfinet.h | |
parent | 453a8ff135e9d8cbbe873b515f7b76b0f83f79e3 (diff) |
1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
* pfinet.h: Add #include <sys/mman.h> for munmap decl.
Diffstat (limited to 'pfinet/pfinet.h')
-rw-r--r-- | pfinet/pfinet.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pfinet/pfinet.h b/pfinet/pfinet.h index b4ed61ec..368c6b54 100644 --- a/pfinet/pfinet.h +++ b/pfinet/pfinet.h @@ -1,5 +1,5 @@ -/* - Copyright (C) 1995, 1996 Free Software Foundation, Inc. +/* + Copyright (C) 1995, 1996, 1999 Free Software Foundation, Inc. Written by Michael I. Bushnell, p/BSG. This file is part of the GNU Hurd. @@ -25,6 +25,7 @@ #include <hurd/ports.h> #include <linux/netdevice.h> #include <hurd/trivfs.h> +#include <sys/mman.h> extern device_t master_device; @@ -67,12 +68,12 @@ void setup_ethernet_device (char *); void become_task_protid (struct trivfs_protid *); void become_task (struct sock_user *); struct sock_user *make_sock_user (struct socket *, int, int); -error_t make_sockaddr_port (struct socket *, int, +error_t make_sockaddr_port (struct socket *, int, mach_port_t *, mach_msg_type_name_t *); void init_devices (void); void init_time (void); void inet_proto_init (struct net_proto *); -void ip_rt_add (short, u_long, u_long, u_long, struct device *, +void ip_rt_add (short, u_long, u_long, u_long, struct device *, u_short, u_long); void ip_rt_del (u_long, struct device *); int tcp_readable (struct sock *); |