aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/streams
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2000-05-23 20:41:01 +0000
committerJake Burkholder <jake@FreeBSD.org>2000-05-23 20:41:01 +0000
commit740a1973a62eaa8e1dc23e22f84dacb3346d303a (patch)
treeacf054a865eef37380f5ac3d3c07766b5bb234b0 /sys/dev/streams
parentb4183771fd8ab7a5946fd38df04c1e24b1268bea (diff)
downloadsrc-740a1973a62eaa8e1dc23e22f84dacb3346d303a.tar.gz
src-740a1973a62eaa8e1dc23e22f84dacb3346d303a.zip
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
Notes
Notes: svn path=/head/; revision=60833
Diffstat (limited to 'sys/dev/streams')
-rw-r--r--sys/dev/streams/streams.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/streams/streams.c b/sys/dev/streams/streams.c
index c0f6f1cbb56d..472eb193c0d7 100644
--- a/sys/dev/streams/streams.c
+++ b/sys/dev/streams/streams.c
@@ -71,10 +71,10 @@ struct svr4_sockcache_entry {
struct sockaddr_un sock;/* Pathname for the socket */
dev_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;
};
-TAILQ_HEAD(svr4_sockcache_head, svr4_sockcache_entry) svr4_head;
+TAILQ_HEAD(svr4_sockcache_head, struct svr4_sockcache_entry) svr4_head;
/* Initialization flag (set/queried by svr4_mod LKM) */
int svr4_str_initialized = 0;