-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some versions of clang warn that ____io_uring_queue_init_params() should be static when compiling setup.c, since there's no external declaration of it. We do have one in helpers.h, but add setup.h instead and include that from both the helpers and setup side. Fixes: 3401b06 ("setup: default to IORING_SETUP_NO_SQARRAY") Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information
Showing
3 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* SPDX-License-Identifier: MIT */ | ||
#ifndef LIBURING_SETUP_H | ||
#define LIBURING_SETUP_H | ||
|
||
int __io_uring_queue_init_params(unsigned entries, struct io_uring *ring, | ||
struct io_uring_params *p, void *buf, | ||
size_t buf_size); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters