summaryrefslogtreecommitdiff
path: root/src/kernel/fd.h
diff options
context:
space:
mode:
authordzwdz2021-08-24 16:34:18 +0200
committerdzwdz2021-08-24 16:34:18 +0200
commite6b76a8556e00c6f143679af8056c1b62e1c57a8 (patch)
tree16fff1c5976dd50ae4b0133ef9e8d1c29ea437a0 /src/kernel/fd.h
parent83fa1f34ea744da7d26997179a0dd6af751dd8b0 (diff)
fdop_dispatch: pass the fd struct instead of index
Diffstat (limited to 'src/kernel/fd.h')
-rw-r--r--src/kernel/fd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/fd.h b/src/kernel/fd.h
index 4976c7d..7f7cbdd 100644
--- a/src/kernel/fd.h
+++ b/src/kernel/fd.h
@@ -20,4 +20,4 @@ enum fdop { // describes the operations which can be done on file descriptors
FDOP_CLOSE,
};
-int fdop_dispatch(enum fdop fdop, fd_t fd, void *ptr, size_t len);
+int fdop_dispatch(enum fdop fdop, struct fd *fd, void *ptr, size_t len);