From: Ammar Faizi <ammarfaizi2@xxxxxxxxxxx> Functions that are not used outside the translation unit should be static. Signed-off-by: Ammar Faizi <ammarfaizi2@xxxxxxxxxxx> --- examples/ucontext-cp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ucontext-cp.c b/examples/ucontext-cp.c index ed3b342..d17aae7 100644 --- a/examples/ucontext-cp.c +++ b/examples/ucontext-cp.c @@ -68,7 +68,7 @@ DEFINE_AWAIT_OP(readv) DEFINE_AWAIT_OP(writev) #undef DEFINE_AWAIT_OP -int await_delay(async_context *pctx, time_t seconds) +static int await_delay(async_context *pctx, time_t seconds) { struct io_uring_sqe *sqe = io_uring_get_sqe(pctx->ring); struct io_uring_cqe *cqe; -- Ammar Faizi