Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp99313ybk; Tue, 12 May 2020 16:36:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgEdFzD34Muyt63YGzU6ds2uuKxoVt+FEWHwqWhgj5/HeaBetXDfOsQO37L1IHFBPCpfVr X-Received: by 2002:a50:8d57:: with SMTP id t23mr9223991edt.168.1589326604937; Tue, 12 May 2020 16:36:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589326604; cv=none; d=google.com; s=arc-20160816; b=P8ME1iDtp9RZtmIhUe7jxw0cEhLwlC7meQQTPnLiSGB3QNhkSydJowa28aWamWOsub nkKEvg8v5Fs93QPMsYRFhgfpJSmMmFqYMD5m/gEKu2Ld18sWH3JE5xzCn5n4mdgTSur+ zWFvd4xi0//5O5uVePX25bjAM3/8jy3Bhfk1oZZvSwm/PvCPAgr+/uHcqUGWJzhBl839 eDhJsJEaj8RhtVkIsk/tMoLTaI+md532wszSHrk7CeMajRsHkmNN3yDWYTlOuByBeWv3 yXcpEh2waKCCqtg4sUSOky8eFMD76GK3n351r1z7/pNoHvbC5rf5HxPeyA7ql5OrktS7 nJNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=t0w58PLIgzzsr7/STKiAZLYfk9q8jhCoDDzdassOWmk=; b=D4OlaQ1MFOjrdBujorcih+7z4JyV5QdjY5BRuuNR+rbnYyFV+xnk0M1anXDh0/K0a/ RM85lwRgap2dvXJEK9/gJX7qwteXidwBbCQjN1O/GhARNlW0F1RX+pmRdyw9K8FSKU/E YQkRPwsmLTDJX3pm1ZDeCaMejqYfclteX92OqIHWkn/Ybot1HvmOddqFrLE9Xdvuo3RO qvtD+9EZpRjvjxKjo0GB5nWnViYc63vrAnoHKRIg0JsRyw0th8niAu5jgwX+9PVQibfV STD6h9oPl0frsYAu/7CX1lsfN+z3acLXTynFJBn2sfGI/SdaELP1JnuZoBu1fZsQWsfh CmdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SITX0Uc6; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r20si1535495edp.75.2020.05.12.16.36.16; Tue, 12 May 2020 16:36:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SITX0Uc6; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731643AbgELXgI (ORCPT + 99 others); Tue, 12 May 2020 19:36:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:33920 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725938AbgELXgH (ORCPT ); Tue, 12 May 2020 19:36:07 -0400 Received: from sol.hsd1.ca.comcast.net (c-107-3-166-239.hsd1.ca.comcast.net [107.3.166.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6C09620769; Tue, 12 May 2020 23:36:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589326567; bh=/L5xK29ViM6H3K9diQ/RKFdZi3A2yxf+q63QlofvZKw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SITX0Uc6cMqd/Nx4GmNh0VLRUjEvlCxuKD67PPh8tGhogHIO8Tac4vLmagL3S5tek xnJqA+d98BFL7TRYI+7VEKSZNKuWmBGbrMI9mjHKr/wrjKCPjP0k/vBUGEcssM1Qf4 C1jbi5q9p7UHDRxUrzBVEqdWLDAidSecKoRobD28= From: Eric Biggers To: linux-fscrypt@vger.kernel.org Cc: linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, Jaegeuk Kim , "Theodore Y . Ts'o" , Daniel Rosenberg Subject: [PATCH 1/4] linux/parser.h: add include guards Date: Tue, 12 May 2020 16:32:48 -0700 Message-Id: <20200512233251.118314-2-ebiggers@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200512233251.118314-1-ebiggers@kernel.org> References: <20200512233251.118314-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org From: Eric Biggers is missing include guards. Add them. This is needed to allow declaring a function in that takes a substring_t parameter. Signed-off-by: Eric Biggers --- include/linux/parser.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/linux/parser.h b/include/linux/parser.h index 12fc3482f5fc7a..89e2b23fb888e8 100644 --- a/include/linux/parser.h +++ b/include/linux/parser.h @@ -7,7 +7,8 @@ * but could potentially be used anywhere else that simple option=arg * parsing is required. */ - +#ifndef _LINUX_PARSER_H +#define _LINUX_PARSER_H /* associates an integer enumerator with a pattern string. */ struct match_token { @@ -34,3 +35,5 @@ int match_hex(substring_t *, int *result); bool match_wildcard(const char *pattern, const char *str); size_t match_strlcpy(char *, const substring_t *, size_t); char *match_strdup(const substring_t *); + +#endif /* _LINUX_PARSER_H */ -- 2.26.2