From: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
To: linux-sparse@vger.kernel.org
Cc: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Subject: [PATCH 2/3] move up apply_ctype()'s declaration
Date: Mon, 22 Jan 2018 07:36:04 +0100 [thread overview]
Message-ID: <20180122063605.97737-3-luc.vanoostenryck@gmail.com> (raw)
In-Reply-To: <20180122063605.97737-1-luc.vanoostenryck@gmail.com>
No functional changes, just to make the following patch
more readable.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
parse.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/parse.c b/parse.c
index e255345fd..a60fcff45 100644
--- a/parse.c
+++ b/parse.c
@@ -627,6 +627,8 @@ struct statement *alloc_statement(struct position pos, int type)
static struct token *struct_declaration_list(struct token *token, struct symbol_list **list);
+static void apply_ctype(struct position pos, struct ctype *thistype, struct ctype *ctype);
+
static void apply_modifiers(struct position pos, struct decl_state *ctx)
{
struct symbol *ctype;
@@ -962,8 +964,6 @@ static struct token *enum_specifier(struct token *token, struct decl_state *ctx)
return ret;
}
-static void apply_ctype(struct position pos, struct ctype *thistype, struct ctype *ctype);
next prev parent reply other threads:[~2018-01-22 6:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-22 6:36 [PATCH 0/3] fix ignored type attributes Luc Van Oostenryck
2018-01-22 6:36 ` [PATCH 1/3] add testcases for " Luc Van Oostenryck
2018-01-22 6:36 ` Luc Van Oostenryck [this message]
2018-01-22 6:36 ` [PATCH 3/3] fix: do not ignore struct/union/enum " Luc Van Oostenryck
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=20180122063605.97737-3-luc.vanoostenryck@gmail.com \
--to=luc.vanoostenryck@gmail.com \
--cc=linux-sparse@vger.kernel.org \
/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 NNTP newsgroup(s).