summaryrefslogtreecommitdiffstats
path: root/sys/fs/fdescfs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/fdescfs')
-rw-r--r--sys/fs/fdescfs/fdesc.h2
-rw-r--r--sys/fs/fdescfs/fdesc_vnops.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/fdescfs/fdesc.h b/sys/fs/fdescfs/fdesc.h
index cbd45fa..60b6006 100644
--- a/sys/fs/fdescfs/fdesc.h
+++ b/sys/fs/fdescfs/fdesc.h
@@ -52,7 +52,7 @@ typedef enum {
} fdntype;
struct fdescnode {
- LIST_ENTRY(struct fdescnode) fd_hash; /* Hash list */
+ LIST_ENTRY(fdescnode) fd_hash; /* Hash list */
struct vnode *fd_vnode; /* Back ptr to vnode */
fdntype fd_type; /* Type of this node */
unsigned fd_fd; /* Fd to be dup'ed */
diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c
index 0f00f1c..368d844 100644
--- a/sys/fs/fdescfs/fdesc_vnops.c
+++ b/sys/fs/fdescfs/fdesc_vnops.c
@@ -67,7 +67,7 @@ static vop_t **fdesc_vnodeop_p;
#define NFDCACHE 4
#define FD_NHASH(ix) \
(&fdhashtbl[(ix) & fdhash])
-static LIST_HEAD(fdhashhead, struct fdescnode) *fdhashtbl;
+static LIST_HEAD(fdhashhead, fdescnode) *fdhashtbl;
static u_long fdhash;
static int fdesc_badop __P((void));
OpenPOWER on IntegriCloud