summaryrefslogtreecommitdiff
path: root/pflocal/sock.h
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-01-19 00:37:19 +0000
committerMiles Bader <miles@gnu.org>1996-01-19 00:37:19 +0000
commit4403b5790aa970f7c6c0c1cab3acb43b390a081b (patch)
tree720c27bdf4b3263dc095ed501b22fa651d625d2c /pflocal/sock.h
parent52e3e9b45d780b4f92363e502e6413da5d4f7c4a (diff)
Remove debugging noise.
Diffstat (limited to 'pflocal/sock.h')
-rw-r--r--pflocal/sock.h5
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);