summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-09-28 17:33:31 +0000
committerphk <phk@FreeBSD.org>2002-09-28 17:33:31 +0000
commit8a5ad5960219f4c2e9729cce4e939e487e64c835 (patch)
tree0af635d3e16ddf330774f4c528e41dde51b6903d /sys
parent1dfc2c167f0c0ee95c98088b2c05b50350b97ddb (diff)
downloadFreeBSD-src-8a5ad5960219f4c2e9729cce4e939e487e64c835.zip
FreeBSD-src-8a5ad5960219f4c2e9729cce4e939e487e64c835.tar.gz
Don't use unnamed anonymous structs: give it a name.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/vnode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index b6e8e84..89d0fa5 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -177,14 +177,14 @@ struct xvnode {
struct {
udev_t xvu_dev; /* device, if VDIR/VREG/VLNK */
ino_t xvu_ino; /* id, if VDIR/VREG/VLNK */
- };
+ } xv_uns;
} xv_un;
};
#define xv_socket xv_un.xvu_socket
#define xv_fifo xv_un.xvu_fifo
#define xv_rdev xv_un.xvu_rdev
-#define xv_dev xv_un.xvu_dev
-#define xv_ino xv_un.xvu_ino
+#define xv_dev xv_un.xv_uns.xvu_dev
+#define xv_ino xv_un.xv_uns.xvu_ino
#define VN_POLLEVENT(vp, events) \
do { \
OpenPOWER on IntegriCloud