diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-10-27 22:46:08 +0100 |
---|---|---|
committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-11-17 18:25:54 +0100 |
commit | 2fbd5822933c7da8854561ff83823848069221b1 (patch) | |
tree | ff4eb754050298f9e809e99437f04e784bf7f74e | |
parent | 98469166098170fc67d3eb043656c3e79190b31f (diff) | |
download | sparse-2fbd5822933c7da8854561ff83823848069221b1.tar.gz |
linearize: remove unneeded forward declarations
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>
-rw-r--r-- | linearize.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/linearize.c b/linearize.c index d3c009b3..76c116ba 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 = {}; |