diff mbox series

linearize: remove unneeded forward declarations

Message ID 20201117172706.79905-1-luc.vanoostenryck@gmail.com (mailing list archive)
State Mainlined, archived
Headers show
Series linearize: remove unneeded forward declarations | expand

Commit Message

Luc Van Oostenryck Nov. 17, 2020, 5:27 p.m. UTC
These declarations are not needed, so remove them.

A few of the other ones could/should be removed but
it would need to shuffle some code around.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
 linearize.c | 4 ----
 1 file changed, 4 deletions(-)
diff mbox series

Patch

diff --git a/linearize.c b/linearize.c
index d3c009b36d22..76c116ba112e 100644
--- a/linearize.c
+++ b/linearize.c
@@ -28,12 +28,8 @@  static pseudo_t linearize_expression(struct entrypoint *ep, struct expression *e
 
 static pseudo_t add_cast(struct entrypoint *ep, struct symbol *to, struct symbol *from, int op, pseudo_t src);
 static pseudo_t add_binary_op(struct entrypoint *ep, struct symbol *ctype, int op, pseudo_t left, pseudo_t right);
-static pseudo_t add_setval(struct entrypoint *ep, struct symbol *ctype, struct expression *val);
 static pseudo_t linearize_one_symbol(struct entrypoint *ep, struct symbol *sym);
 
-struct access_data;
-static pseudo_t add_load(struct entrypoint *ep, struct access_data *);
-static pseudo_t linearize_initializer(struct entrypoint *ep, struct expression *initializer, struct access_data *);
 static pseudo_t cast_pseudo(struct entrypoint *ep, pseudo_t src, struct symbol *from, struct symbol *to);
 
 struct pseudo void_pseudo = {};