mirror of
https://github.com/openharmony/third_party_liburing.git
synced 2026-07-19 10:48:00 -04:00
Merge tag 'liburing-fixes-2022-10-19' of https://github.com/ammarfaizi2/liburing
Pull liburing fixes from Ammar Faizi:
- Fix the wrong return type in io_uring_buf_ring_advance
and io_uring_buf_ring_cq_advance man page (Alviro)
- Clean up a build warning when compiling with clang v13.0.1 (me)
Link: https://github.com/axboe/liburing/pull/689
* tag 'liburing-fixes-2022-10-19' of https://github.com/ammarfaizi2/liburing:
test/helpers: Fix clang warning
man/io_uring_buf_ring_cq_advance.3: Fix return type
man/io_uring_buf_ring_advance.3: Fix return type
This commit is contained in:
@@ -9,8 +9,8 @@ io_uring_buf_ring_advance \- advance index of provided buffer in buffer ring
|
||||
.nf
|
||||
.B #include <liburing.h>
|
||||
.PP
|
||||
.BI "int io_uring_buf_ring_advance(struct io_uring_buf_ring *" br ",
|
||||
.BI " int " count ");"
|
||||
.BI "void io_uring_buf_ring_advance(struct io_uring_buf_ring *" br ",
|
||||
.BI " int " count ");"
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
|
||||
@@ -9,9 +9,9 @@ io_uring_buf_ring_cq_advance \- advance index of provided buffer and CQ ring
|
||||
.nf
|
||||
.B #include <liburing.h>
|
||||
.PP
|
||||
.BI "int io_uring_buf_ring_cq_advance(struct io_uring *" ring ",
|
||||
.BI " struct io_uring_buf_ring *" br ",
|
||||
.BI " int " count ");"
|
||||
.BI "void io_uring_buf_ring_cq_advance(struct io_uring *" ring ",
|
||||
.BI " struct io_uring_buf_ring *" br ",
|
||||
.BI " int " count ");"
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
|
||||
@@ -10,6 +10,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#include "liburing.h"
|
||||
#include <arpa/inet.h>
|
||||
|
||||
enum t_setup_ret {
|
||||
T_SETUP_OK = 0,
|
||||
|
||||
Reference in New Issue
Block a user