summaryrefslogtreecommitdiffstats
path: root/sw/z80/kernel/include/stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'sw/z80/kernel/include/stat.h')
-rw-r--r--sw/z80/kernel/include/stat.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/z80/kernel/include/stat.h b/sw/z80/kernel/include/stat.h
index cc5a7bf..44c0f63 100644
--- a/sw/z80/kernel/include/stat.h
+++ b/sw/z80/kernel/include/stat.h
@@ -1,10 +1,11 @@
-#ifndef STAT_H
-#define STAT_H
+#ifndef __STAT_H__
+#define __STAT_H__
+
+#include "types.h"
struct stat
{
- dev_t dev; /* device id */
- ino_t inumber; /* inode number inside the volume */
+ inode_t inode; /* inode reference */
uint mode :3; /* mode */
uint uid :3; /* owner id */
@@ -19,6 +20,5 @@ struct stat
}
struct stat * stat(const char *path, struct stat *buffer);
-struct stat * lstat(const char *link, struct stat *buffer);
-#endif
+#endif // __STAT_H__