From: Giuliano Procida <gprocida@google.com>
To: libabigail@sourceware.org
Cc: dodji@seketeli.org, kernel-team@android.com, gprocida@google.com,
maennich@google.com
Subject: [PATCH 1/3] abg-corpus-priv.h: include abg-corpus.h
Date: Thu, 3 Sep 2020 14:22:03 +0100 [thread overview]
Message-ID: <20200903132205.589136-2-gprocida@google.com> (raw)
In-Reply-To: <20200903132205.589136-1-gprocida@google.com>
This commit eliminates a clang diagnostic error that can occur if the
header abg-corpus-priv.h alone is compiled as the type corpus was
incomplete at the point various nested types were defined.
* src/abg-corpus-priv.h: Include abg-corpus.h.
Signed-off-by: Giuliano Procida <gprocida@google.com>
---
src/abg-corpus-priv.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/abg-corpus-priv.h b/src/abg-corpus-priv.h
index ee8c82396..d8b75cb26 100644
--- a/src/abg-corpus-priv.h
+++ b/src/abg-corpus-priv.h
@@ -30,6 +30,7 @@
#define __ABG_CORPUS_PRIV_H__
#include "abg-internal.h"
+#include "abg-corpus.h"
#include "abg-regex.h"
#include "abg-sptr-utils.h"
--
2.28.0.402.g5ffc5be6b7-goog
next prev parent reply other threads:[~2020-09-03 13:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-03 13:22 [PATCH 0/3] clang-tidy error and warning fixes Giuliano Procida
2020-09-03 13:22 ` Giuliano Procida [this message]
2020-09-03 13:22 ` [PATCH 2/3] Fix readability-redundant-smartptr-get warnings Giuliano Procida
2020-09-03 13:22 ` [PATCH 3/3] Fix performance-unnecessary-copy-initialization warnings Giuliano Procida
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200903132205.589136-2-gprocida@google.com \
--to=gprocida@google.com \
--cc=dodji@seketeli.org \
--cc=kernel-team@android.com \
--cc=libabigail@sourceware.org \
--cc=maennich@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).