diff options
Diffstat (limited to 'pflocal/sock.h')
-rw-r--r-- | pflocal/sock.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pflocal/sock.h b/pflocal/sock.h index 23528480..2b1608d6 100644 --- a/pflocal/sock.h +++ b/pflocal/sock.h @@ -26,8 +26,6 @@ #include <hurd/ports.h> -#include "debug.h" - struct pipe; struct pipe_class; @@ -112,15 +110,12 @@ void _sock_norefs (struct sock *sock); extern inline void sock_deref (struct sock *sock) { - debug (sock, "lock, refs--"); mutex_lock (&sock->lock); if (--sock->refs == 0) _sock_norefs (sock); else -{debug (sock, "unlock"); mutex_unlock (&sock->lock); } -} /* Return a new socket just like TEMPLATE in SOCK. */ error_t sock_clone (struct sock *template, struct sock **sock); |