summaryrefslogtreecommitdiff
path: root/src/user/lib/include/bits/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/lib/include/bits/file.h')
-rw-r--r--src/user/lib/include/bits/file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user/lib/include/bits/file.h b/src/user/lib/include/bits/file.h
index d37b7de..74a8c17 100644
--- a/src/user/lib/include/bits/file.h
+++ b/src/user/lib/include/bits/file.h
@@ -1,9 +1,9 @@
#pragma once
#include <stdbool.h>
// TODO make opaque
-struct libc_file {
+struct FILE {
int fd;
int pos;
bool eof;
};
-typedef struct libc_file libc_file;
+typedef struct FILE FILE;