]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: uapi: Add `extern "C"` in io_uring.h for liburing
authorAmmar Faizi <ammarfaizi2@gnuweeb.org>
Tue, 23 Aug 2022 11:45:49 +0000 (18:45 +0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 23 Aug 2022 13:22:33 +0000 (07:22 -0600)
commit9b3ef741dc052c478ec9ae3d2487614ae7a9e029
treefdb6b77e441321118fd1a56af68a13dcdebf2de6
parent49ce107a42c78b188144d9da097e0325cea885b2
io_uring: uapi: Add `extern "C"` in io_uring.h for liburing

Make it easy for liburing to integrate uapi header with the kernel.
Previously, when this header changes, the liburing side can't directly
copy this header file due to some small differences. Sync them.

Link: https://lore.kernel.org/io-uring/f1feef16-6ea2-0653-238f-4aaee35060b6@kernel.dk
Cc: Bart Van Assche <bvanassche@acm.org>
Cc: Dylan Yudaken <dylany@fb.com>
Cc: Facebook Kernel Team <kernel-team@fb.com>
Signed-off-by: Ammar Faizi <ammarfaizi2@gnuweeb.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/uapi/linux/io_uring.h