linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pre-process: remove unneeded declaration of show_token_sequence()
@ 2020-06-08 23:33 Luc Van Oostenryck
  2020-06-08 23:33 ` Luc Van Oostenryck
  0 siblings, 1 reply; 2+ messages in thread
From: Luc Van Oostenryck @ 2020-06-08 23:33 UTC (permalink / raw)
  To: linux-sparse; +Cc: Luc Van Oostenryck

Remove this declaration which follows the definition.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
 pre-process.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/pre-process.c b/pre-process.c
index d96035e2339f..e6becf233eba 100644
--- a/pre-process.c
+++ b/pre-process.c
@@ -1585,8 +1585,6 @@ static int handle_ifndef(struct stream *stream, struct token **line, struct toke
 	return preprocessor_if(stream, token, arg);
 }
 
-static const char *show_token_sequence(struct token *token, int quote);

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] pre-process: remove unneeded declaration of show_token_sequence()
  2020-06-08 23:33 [PATCH] pre-process: remove unneeded declaration of show_token_sequence() Luc Van Oostenryck
@ 2020-06-08 23:33 ` Luc Van Oostenryck
  0 siblings, 0 replies; 2+ messages in thread
From: Luc Van Oostenryck @ 2020-06-08 23:33 UTC (permalink / raw)
  To: linux-sparse; +Cc: Luc Van Oostenryck

Remove this declaration which follows the definition.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
 pre-process.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/pre-process.c b/pre-process.c
index d96035e2339f..e6becf233eba 100644
--- a/pre-process.c
+++ b/pre-process.c
@@ -1585,8 +1585,6 @@ static int handle_ifndef(struct stream *stream, struct token **line, struct toke
 	return preprocessor_if(stream, token, arg);
 }
 
-static const char *show_token_sequence(struct token *token, int quote);
-
 /*
  * Expression handling for #if and #elif; it differs from normal expansion
  * due to special treatment of "defined".
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-08 23:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-08 23:33 [PATCH] pre-process: remove unneeded declaration of show_token_sequence() Luc Van Oostenryck
2020-06-08 23:33 ` Luc Van Oostenryck

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).