From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7667C433FE for ; Thu, 24 Nov 2022 16:29:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229477AbiKXQ3k (ORCPT ); Thu, 24 Nov 2022 11:29:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229535AbiKXQ3j (ORCPT ); Thu, 24 Nov 2022 11:29:39 -0500 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 090D017027F for ; Thu, 24 Nov 2022 08:29:39 -0800 (PST) Received: from localhost.localdomain (unknown [182.253.183.240]) by gnuweeb.org (Postfix) with ESMTPSA id 2982B8175E; Thu, 24 Nov 2022 16:29:34 +0000 (UTC) X-GW-Data: lPqxHiMPbJw1wb7CM9QUryAGzr0yq5atzVDdxTR0iA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1669307378; bh=PiYQQILwWUGqPy72iXWcKsCfm2nayS/FojzHuMN10q4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f2HTO/9q5Hh7ZrllC2zIIgS/59lQ4MhFDLOYE3V/gUFYyYHe5HzjhhaVtUhTt0+Wb vgfQW5dr32fLwxDPfVJnFBatR5xeah+Ta78LsBNKoVvsZVWdfrq3axAcSKwKIBLdHi xDibxg58/zrjYhPXv9zu+//OoH2RVxPR98kgHt4RvWuP0IKj1uw7Fi2/d+0beTzlqo 5GgbWRxe5nP6g96YklwT/MDpQarwUmWP60r80EIpf8ezyYjwf6CdEEdIeI8vSa8+Xz x2mF/zjH3294D1cYkeFVHlNPzIHw2ujtTAncj2i9bRi8YqxVSSw0Fnv/WA/zkISzlx 9Eo2jQZYoJMuA== From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Dylan Yudaken , Pavel Begunkov , Gilang Fachrezy , Muhammad Rizki , Alviro Iskandar Setiawan , VNLX Kernel Department , io-uring Mailing List , GNU/Weeb Mailing List Subject: [PATCH liburing v2 6/8] ucontext-cp: Mark a non-exported function as static Date: Thu, 24 Nov 2022 23:28:59 +0700 Message-Id: <20221124162633.3856761-7-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221124162633.3856761-1-ammar.faizi@intel.com> References: <20221124162633.3856761-1-ammar.faizi@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org 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