summaryrefslogtreecommitdiff
path: root/pfinet/linux-src
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-02-26 04:17:07 +0000
committerRoland McGrath <roland@gnu.org>2001-02-26 04:17:07 +0000
commit480aa674aaed66f581decc4e9f17bf058dab121b (patch)
treec4f6ebfabacc0e629f5b6c32ebc2732ef2347e9e /pfinet/linux-src
parentf7a9538252e1d65e528e9e34c1e1a99b681116ab (diff)
2001-02-25 Roland McGrath <roland@frob.com>
* linux-src/include/linux/net.h (struct file): Move forward decl outside of `struct socket' type definition, for gcc-2.96 syntax.
Diffstat (limited to 'pfinet/linux-src')
-rw-r--r--pfinet/linux-src/include/linux/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfinet/linux-src/include/linux/net.h b/pfinet/linux-src/include/linux/net.h
index da193dcc..781b9453 100644
--- a/pfinet/linux-src/include/linux/net.h
+++ b/pfinet/linux-src/include/linux/net.h
@@ -58,6 +58,7 @@ typedef enum {
#ifdef __KERNEL__
+struct file; /* forward decl magic */
struct socket
{
socket_state state;
@@ -68,7 +69,6 @@ struct socket
#ifdef _HURD_
uint_fast32_t refcnt; /* # of sock_user's pointing to this */
mach_port_t identity; /* for io_identity */
- struct file; /* forward decl magic */
#else
struct fasync_struct *fasync_list; /* Asynchronous wake up list */
struct file *file; /* File back pointer for gc */