projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactor countFileSize to return the size directly.
[bertos.git]
/
bertos
/
kern
/
kfile.c
diff --git
a/bertos/kern/kfile.c
b/bertos/kern/kfile.c
index 22da2a70f3f3fdf76c41f3218ec1ba1df9f560bb..cab20aa668803ac929ed65157a813608b33ae8db 100644
(file)
--- a/
bertos/kern/kfile.c
+++ b/
bertos/kern/kfile.c
@@
-218,4
+218,13
@@
struct KFile * kfile_genericReopen(struct KFile *fd)
return fd;
}
+/**
+ * Close file \a fd.
+ * This is a generic implementation that only return 0.
+ */
+int kfile_genericClose(UNUSED_ARG(struct KFile *, fd))
+{
+ return 0;
+};
+