From patchwork Wed Dec 14 21:30:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 33379 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp479526wrn; Wed, 14 Dec 2022 13:33:57 -0800 (PST) X-Google-Smtp-Source: AA0mqf428zQrMmanyggkUwxhVFH2PNK46Vq7G/ekjIIKfdrjq6/JWFFmtbBKXZFjWYkYZsbASfJW X-Received: by 2002:a05:6402:f93:b0:46c:e974:fa58 with SMTP id eh19-20020a0564020f9300b0046ce974fa58mr21439575edb.20.1671053637028; Wed, 14 Dec 2022 13:33:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671053637; cv=none; d=google.com; s=arc-20160816; b=BAja0nEQvGtIFDYf2QFnXaythB+yzLmNhwl+hcLcWQeCT1YRZViBR/YiBGT7ECMxqb /PHYcNe2/1wsKP/24Fb5hpVrmuCHdaeCJIO4hjtQRAUG3JpWQmrQIZlJvTDs4RUEN+we wZtHXzF+O9PFsHr5IixklG8wd07g3nDGxacP7sBa+V872mXwf9JBGEyrkj8NrTDUTocr 1SAoMid6P1mqzSm14D2XtywO2l8YUzOIuDGd744d5Af7AbrsFsybXqqj8u8HkwANqFco umEv8rQyzDq7QKlOfU1YGEPXrJUkFqkGIprVUsHTbClD4wXsCJidqBna4gOEdurpWk1E GPWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:date:subject :to:from:dkim-signature; bh=Mdh/7bm9+wtoe4Hd6cIEdts3EB320ZBGLuixnqSySc4=; b=ytbyk3j+occrFphqHFyT1dD2LJluxPpwTZ2YKC+igUCULT9EaCfPVzmsveCjJIfAzi MIJNgptamFKqLSFF3PsI7wgXyY7V245I45BGiAmfW/9D3ZgkAM9tyjIaG4NC+VEKo6hH 57OlIuvDve95icKMouIBGgPeN7Ym5Lrs2KUIckU69hXcWEZFcbmYbj2OLUIE4FeRIrTL tWJcirN+40JzAYLaIFil4gRb6jm+qh5JPv7KCwih+wT3cyvZa0GcCsQhwRfq6Sg7tLR1 k/Lg73M1nZfbzSRQcD+I5WyRsCGP52/m2t1uLWyHh0c0AjjG4kUfp3jqCcbFSt3cKu+u T7Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ggh50vZj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z15-20020aa7c64f000000b004690be1cef0si11631560edr.84.2022.12.14.13.33.33; Wed, 14 Dec 2022 13:33:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ggh50vZj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229768AbiLNVbX (ORCPT + 99 others); Wed, 14 Dec 2022 16:31:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229613AbiLNVbR (ORCPT ); Wed, 14 Dec 2022 16:31:17 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 338C437206 for ; Wed, 14 Dec 2022 13:30:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671053431; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=Mdh/7bm9+wtoe4Hd6cIEdts3EB320ZBGLuixnqSySc4=; b=Ggh50vZj2KaME/Qd3PjCkYNMe9MT2dDv+D1neYd3FF522WLvWdbFduiawLBCOyzctR+aNN fekVX1yvlFX5t7RZdVCmz6roybjiprLjc9FKZath0FTGGOht9DQ+QLmFzXmVhN22Dft7eF HdTpq1143P+uXbezwTyDv5qrPjbwEHM= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-203-IqaeJKWGP4G4fO6D5GFzqA-1; Wed, 14 Dec 2022 16:30:29 -0500 X-MC-Unique: IqaeJKWGP4G4fO6D5GFzqA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 0733C80D0E5; Wed, 14 Dec 2022 21:30:29 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.2.16.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 614D414171BE; Wed, 14 Dec 2022 21:30:28 +0000 (UTC) From: Florian Weimer To: linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] efitools: Include for the strcasecmp function Date: Wed, 14 Dec 2022 22:30:26 +0100 Message-ID: <87pmcllll9.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752226738296525887?= X-GMAIL-MSGID: =?utf-8?q?1752226738296525887?= Otherwise, an implicit function declaration is the result, and the code may fail to compile with future compilers. --- efi-updatevar.c | 1 + 1 file changed, 1 insertion(+) Related to: diff --git a/efi-updatevar.c b/efi-updatevar.c index 4247105..033d938 100644 --- a/efi-updatevar.c +++ b/efi-updatevar.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include