diff options
author | Roland McGrath <roland@gnu.org> | 2001-12-22 21:00:34 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-12-22 21:00:34 +0000 |
commit | be8bc69ff1f75c849d0fb243a8d9ee421ab17bbd (patch) | |
tree | 8ca90b8b49ab5f3cbe3607deb97dbb069115fe56 /pflocal/sock.h | |
parent | 1977d783a60647a384e6ab79bfd4e63f5b38d0a4 (diff) |
2001-12-22 Roland McGrath <roland@frob.com>
* 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.
Diffstat (limited to 'pflocal/sock.h')
-rw-r--r-- | pflocal/sock.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 <miles@gnu.ai.mit.edu> + Written by Miles Bader <miles@gnu.org> 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); |