summaryrefslogtreecommitdiffstats
path: root/sys/svr4
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2000-05-23 20:41:01 +0000
committerjake <jake@FreeBSD.org>2000-05-23 20:41:01 +0000
commitd93fbc99166053b75c2eeb69b5cb603cfaf79ec0 (patch)
treea4f130be4544ce7cfe4afa8c93f996b871433cb8 /sys/svr4
parente814d2a0db522b0f163eef55a56d05aa226951f3 (diff)
downloadFreeBSD-src-d93fbc99166053b75c2eeb69b5cb603cfaf79ec0.zip
FreeBSD-src-d93fbc99166053b75c2eeb69b5cb603cfaf79ec0.tar.gz
Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
Diffstat (limited to 'sys/svr4')
-rw-r--r--sys/svr4/svr4_socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/svr4/svr4_socket.c b/sys/svr4/svr4_socket.c
index 1884b07..264e654 100644
--- a/sys/svr4/svr4_socket.c
+++ b/sys/svr4/svr4_socket.c
@@ -68,10 +68,10 @@ struct svr4_sockcache_entry {
struct sockaddr_un sock;/* Pathname for the socket */
udev_t dev; /* Device where the socket lives on */
ino_t ino; /* Inode where the socket lives on */
- TAILQ_ENTRY(svr4_sockcache_entry) entries;
+ TAILQ_ENTRY(struct svr4_sockcache_entry) entries;
};
-extern TAILQ_HEAD(svr4_sockcache_head, svr4_sockcache_entry) svr4_head;
+extern TAILQ_HEAD(svr4_sockcache_head, struct svr4_sockcache_entry) svr4_head;
extern int svr4_str_initialized;
struct sockaddr_un *
OpenPOWER on IntegriCloud