All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] cleanup prototype
@ 2017-09-19  3:08 Luc Van Oostenryck
  2017-09-19  3:08 ` [PATCH 1/2] remove prototype extern int is_ptr_type() Luc Van Oostenryck
  2017-09-19  3:08 ` [PATCH 2/2] remove prototype for unexistant examine_simple_symbol_type() Luc Van Oostenryck
  0 siblings, 2 replies; 3+ messages in thread
From: Luc Van Oostenryck @ 2017-09-19  3:08 UTC (permalink / raw)
  To: linux-sparse; +Cc: Christopher Li, Luc Van Oostenryck

This series contains two patches removing unneeded prototypes.


The series is also available for review in the git repository at:

  git://github.com/lucvoo/sparse.git cleanup-prototype

----------------------------------------------------------------
Luc Van Oostenryck (2):
      remove prototype extern int is_ptr_type()
      remove prototype for unexistant examine_simple_symbol_type()

 symbol.h | 2 --
 1 file changed, 2 deletions(-)

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

* [PATCH 1/2] remove prototype extern int is_ptr_type()
  2017-09-19  3:08 [PATCH 0/2] cleanup prototype Luc Van Oostenryck
@ 2017-09-19  3:08 ` Luc Van Oostenryck
  2017-09-19  3:08 ` [PATCH 2/2] remove prototype for unexistant examine_simple_symbol_type() Luc Van Oostenryck
  1 sibling, 0 replies; 3+ messages in thread
From: Luc Van Oostenryck @ 2017-09-19  3:08 UTC (permalink / raw)
  To: linux-sparse; +Cc: Christopher Li, Luc Van Oostenryck

because the function was already defined as an inline function
in the same header file.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
 symbol.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/symbol.h b/symbol.h
index 327449611..614763404 100644
--- a/symbol.h
+++ b/symbol.h
@@ -438,7 +438,6 @@ static inline struct symbol *lookup_keyword(struct ident *ident, enum namespace
 #define is_restricted_type(type) (get_sym_type(type) == SYM_RESTRICT)
 #define is_fouled_type(type) (get_sym_type(type) == SYM_FOULED)
 #define is_bitfield_type(type)   (get_sym_type(type) == SYM_BITFIELD)
-extern int is_ptr_type(struct symbol *);
 
 void create_fouled(struct symbol *type);
 struct symbol *befoul(struct symbol *type);
-- 
2.14.0


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

* [PATCH 2/2] remove prototype for unexistant examine_simple_symbol_type()
  2017-09-19  3:08 [PATCH 0/2] cleanup prototype Luc Van Oostenryck
  2017-09-19  3:08 ` [PATCH 1/2] remove prototype extern int is_ptr_type() Luc Van Oostenryck
@ 2017-09-19  3:08 ` Luc Van Oostenryck
  1 sibling, 0 replies; 3+ messages in thread
From: Luc Van Oostenryck @ 2017-09-19  3:08 UTC (permalink / raw)
  To: linux-sparse; +Cc: Christopher Li, Luc Van Oostenryck

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
 symbol.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/symbol.h b/symbol.h
index 614763404..0c50884af 100644
--- a/symbol.h
+++ b/symbol.h
@@ -303,7 +303,6 @@ extern void bind_symbol(struct symbol *, struct ident *, enum namespace);
 
 extern struct symbol *examine_symbol_type(struct symbol *);
 extern struct symbol *examine_pointer_target(struct symbol *);
-extern void examine_simple_symbol_type(struct symbol *);
 extern const char *show_typename(struct symbol *sym);
 extern const char *builtin_typename(struct symbol *sym);
 extern const char *builtin_ctypename(struct ctype *ctype);
-- 
2.14.0


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

end of thread, other threads:[~2017-09-19  3:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-19  3:08 [PATCH 0/2] cleanup prototype Luc Van Oostenryck
2017-09-19  3:08 ` [PATCH 1/2] remove prototype extern int is_ptr_type() Luc Van Oostenryck
2017-09-19  3:08 ` [PATCH 2/2] remove prototype for unexistant examine_simple_symbol_type() Luc Van Oostenryck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.