comparison lwasm/lwasm.c @ 2:7317fbe024af

Clean up insane number of compiler warnings under -Wall
author lost@l-w.ca
date Thu, 20 Jan 2011 22:39:46 -0700
parents 2c24602be78f
children c80e5a063967
comparison
equal deleted inserted replaced
1:96c4dc89016e 2:7317fbe024af
22 #define ___lwasm_c_seen___ 22 #define ___lwasm_c_seen___
23 23
24 #include <stdio.h> 24 #include <stdio.h>
25 #include <stdarg.h> 25 #include <stdarg.h>
26 #include <string.h> 26 #include <string.h>
27 #include <ctype.h>
27 28
28 #include <lw_expr.h> 29 #include <lw_expr.h>
29 #include <lw_alloc.h> 30 #include <lw_alloc.h>
30 #include <lw_string.h> 31 #include <lw_string.h>
31 32
595 } 596 }
596 597
597 int lwasm_reduce_expr(asmstate_t *as, lw_expr_t expr) 598 int lwasm_reduce_expr(asmstate_t *as, lw_expr_t expr)
598 { 599 {
599 lw_expr_simplify(expr, as); 600 lw_expr_simplify(expr, as);
601 return 0;
600 } 602 }
601 603
602 void lwasm_save_expr(line_t *cl, int id, lw_expr_t expr) 604 void lwasm_save_expr(line_t *cl, int id, lw_expr_t expr)
603 { 605 {
604 struct line_expr_s *e; 606 struct line_expr_s *e;