diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1997-10-11 01:32:09 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1997-10-11 01:32:09 +0000 |
commit | 8f54a36a6de65c4753af43746e3c40fe506d8e93 (patch) | |
tree | 8b35f9b507f9d86f6a62c474cc7c190b1e2fde39 /sys/netnatm/natm.c | |
parent | e83f95146815c2b8bab31b4f08b190bc198bc86f (diff) |
Keep the ifdef for NetBSD.
Diffstat (limited to 'sys/netnatm/natm.c')
-rw-r--r-- | sys/netnatm/natm.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/netnatm/natm.c b/sys/netnatm/natm.c index 3e70de11012..bff8f2468ae 100644 --- a/sys/netnatm/natm.c +++ b/sys/netnatm/natm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: natm.c,v 1.4 1997/10/11 01:21:16 angelos Exp $ */ +/* $OpenBSD: natm.c,v 1.5 1997/10/11 01:32:08 angelos Exp $ */ /* * @@ -67,10 +67,17 @@ u_long natm0_recvspace = 16*1024; * user requests */ +#if defined(__NetBSD__) int natm_usrreq(so, req, m, nam, control) +#elif defined(__OpenBSD__) || defined(__FreeBSD__) +int natm_usrreq(so, req, m, nam, control) +#endif struct socket *so; int req; struct mbuf *m, *nam, *control; +#if defined(__NetBSD__) +struct proc *p; +#endif { int error = 0, s, s2; struct natmpcb *npcb; |