summaryrefslogtreecommitdiff
path: root/sys/include/fs/devfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include/fs/devfs.h')
-rw-r--r--sys/include/fs/devfs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/include/fs/devfs.h b/sys/include/fs/devfs.h
index 9b293b2..51b0b45 100644
--- a/sys/include/fs/devfs.h
+++ b/sys/include/fs/devfs.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2023-2024 Ian Marco Moffett and the Osmora Team.
+ * Copyright (c) 2023-2025 Ian Marco Moffett and the Osmora Team.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -33,9 +33,11 @@
#include <sys/vnode.h>
#include <sys/types.h>
#include <sys/device.h>
+#include <sys/devstat.h>
extern const struct vops g_devfs_vops;
int devfs_create_entry(const char *name, devmajor_t major, dev_t dev, mode_t mode);
+int devfs_devstat(struct vnode *vp, struct devstat *res);
#endif /* !_FS_DEVFS_H_ */