summaryrefslogtreecommitdiffstats
path: root/sys/sys/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/file.h')
-rw-r--r--sys/sys/file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/file.h b/sys/sys/file.h
index 6cbcb21..a92370a 100644
--- a/sys/sys/file.h
+++ b/sys/sys/file.h
@@ -54,7 +54,7 @@ struct uio;
* One entry for each open kernel vnode and socket.
*/
struct file {
- LIST_ENTRY(struct file) f_list;/* list of active files */
+ LIST_ENTRY(file) f_list;/* list of active files */
short f_flag; /* see fcntl.h */
#define DTYPE_VNODE 1 /* file */
#define DTYPE_SOCKET 2 /* communications endpoint */
@@ -96,7 +96,7 @@ struct file {
MALLOC_DECLARE(M_FILE);
#endif
-LIST_HEAD(filelist, struct file);
+LIST_HEAD(filelist, file);
extern struct filelist filehead; /* head of list of open files */
extern struct fileops vnops;
extern struct fileops badfileops;
OpenPOWER on IntegriCloud