From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from localhost.localdomain (unknown [182.253.183.240]) by gnuweeb.org (Postfix) with ESMTPSA id D267381712; Thu, 24 Nov 2022 08:01:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1669276904; bh=PiYQQILwWUGqPy72iXWcKsCfm2nayS/FojzHuMN10q4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IUyapkpegtof5aiJGNi+iOJZbsrxrC79AYGqPnlMZRPiEui7X/4ADXgdfm1Rcv7pl Di3iFVGCRDhJl1yfmC4EUPoxpQkYEtR0J9j+ITFqxaXrOWeIKJbCCFcnBnTZ2RbwpS uAHLkiJt+sruGyedbmGy4yicqaM3KEQP6jpJhGzDEdVzcsT/WTYI7v2Pa2BLsqOhcW RrMnk4y3HlxbSRiwXhvv4tcKKM5AOuRnO1pVR+JK8GsOQojCIGmNSfW4l7oi57yH3h QAA29Cf1FoIAdAtCSjeIWGaOfgh0TEY/1+zZHkWjZHwbrRc0ypxQ5s2XYl8Ze9iqYs oQT+prihRGKbw== From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Pavel Begunkov , io-uring Mailing List , GNU/Weeb Mailing List , Gilang Fachrezy , Muhammad Rizki , Alviro Iskandar Setiawan , VNLX Kernel Department Subject: [PATCH liburing v1 5/7] ucontext-cp: Mark internal functions as static Date: Thu, 24 Nov 2022 15:01:00 +0700 Message-Id: <20221124075846.3784701-6-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221124075846.3784701-1-ammar.faizi@intel.com> References: <20221124075846.3784701-1-ammar.faizi@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: From: Ammar Faizi Functions that are not used outside the translation unit should be static. Signed-off-by: Ammar Faizi --- 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