From 3bf2241fd28c36e8c548e1b99fa0eaae9a77f131 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 25 Mar 2007 07:33:20 +0000 Subject: [PATCH] Cosmetics from FreeBSD. --- cpukit/libnetworking/sys/socketvar.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cpukit/libnetworking/sys/socketvar.h b/cpukit/libnetworking/sys/socketvar.h index f05f791a7a..5fc3228bd6 100644 --- a/cpukit/libnetworking/sys/socketvar.h +++ b/cpukit/libnetworking/sys/socketvar.h @@ -38,12 +38,15 @@ #include /* for TAILQ macros */ #include /* for struct selinfo */ + /* * Kernel structure per socket. * Contains send and receive buffer queues, * handle on protocol and pointer to protocol * private data and error information. */ +typedef u_quad_t so_gen_t; + struct socket { short so_type; /* generic type, see socket.h */ short so_options; /* from socket call, see socket.h */ @@ -77,7 +80,7 @@ struct socket { /* * Variables for socket buffering. */ - struct sockbuf { + struct sockbuf { u_int sb_cc; /* actual chars in buffer */ u_int sb_hiwat; /* max actual char count */ u_int sb_mbcnt; /* chars of mbufs used */