From patchwork Sun Apr 26 19:38:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 238547 List-Id: U-Boot discussion From: sjg at chromium.org (Simon Glass) Date: Sun, 26 Apr 2020 13:38:21 -0600 Subject: [PATCH v2 4/7] x86: cbfs: Drop unwanted declaration In-Reply-To: <20200426193824.171193-1-sjg@chromium.org> References: <20200426193824.171193-1-sjg@chromium.org> Message-ID: <20200426133808.v2.4.I9cbd1af1c7a30c06301650e4eb40641b236bbb7d@changeid> The intention here is add a forward declaration, not actually declare a variable. Fix it. Signed-off-by: Simon Glass --- Changes in v2: None include/cbfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cbfs.h b/include/cbfs.h index f3bc8ca24a..d915f9426d 100644 --- a/include/cbfs.h +++ b/include/cbfs.h @@ -135,7 +135,7 @@ void file_cbfs_get_next(const struct cbfs_cachenode **file); */ const struct cbfs_cachenode *file_cbfs_find(const char *name); -struct cbfs_priv *priv; +struct cbfs_priv; /** * cbfs_find_file() - Find a file in a given CBFS