aboutsummaryrefslogtreecommitdiff
path: root/io_uring/opdef.h
diff options
context:
space:
mode:
authorJens Axboe2022-06-15 16:27:42 -0600
committerJens Axboe2022-07-24 18:39:12 -0600
commitd9b57aa3cfc792ccac6858376c017dbea6cb2872 (patch)
tree8fd8a6d7407df0a2f155d85f29acadd22f78090f /io_uring/opdef.h
parentf3b44f92e59a804cf375479bda0bccbf4b6e6ef6 (diff)
io_uring: move opcode table to opdef.c
We already have the declarations in opdef.h, move the rest into its own file rather than in the main io_uring.c file. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/opdef.h')
-rw-r--r--io_uring/opdef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/io_uring/opdef.h b/io_uring/opdef.h
index 4578adcdba8a..ece8ed4f96c4 100644
--- a/io_uring/opdef.h
+++ b/io_uring/opdef.h
@@ -37,4 +37,6 @@ struct io_op_def {
};
extern const struct io_op_def io_op_defs[];
+
+void io_uring_optable_init(void);
#endif