From be8bc69ff1f75c849d0fb243a8d9ee421ab17bbd Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 22 Dec 2001 21:00:34 +0000 Subject: 2001-12-22 Roland McGrath * sock.h (sock_deref): Don't define this extern inline. Instead, use static inline and __attribute__ ((unused)). * mig-decls.h (begin_using_sock_user_port): Likewise. (end_using_sock_user_port): Likewise. (begin_using_addr_port): Likewise. (end_using_addr_port): Likewise. --- pflocal/sock.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pflocal/sock.h') diff --git a/pflocal/sock.h b/pflocal/sock.h index 94035759..6bad8af8 100644 --- a/pflocal/sock.h +++ b/pflocal/sock.h @@ -1,8 +1,8 @@ /* Internal sockets - Copyright (C) 1995, 1996, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1995,96,99,2000,01 Free Software Foundation, Inc. - Written by Miles Bader + Written by Miles Bader This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -115,7 +115,7 @@ void sock_free (struct sock *sock); void _sock_norefs (struct sock *sock); /* Remove a reference from SOCK, possibly freeing it. */ -extern inline void +static inline void __attribute__ ((unused)) sock_deref (struct sock *sock) { mutex_lock (&sock->lock); -- cgit v1.2.3