diff lwasm/pass1.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 d96037ea0b80
line wrap: on
line diff
--- a/lwasm/pass1.c	Wed Jan 19 22:31:00 2011 -0700
+++ b/lwasm/pass1.c	Thu Jan 20 22:39:46 2011 -0700
@@ -21,6 +21,8 @@
 
 #include <stdio.h>
 #include <string.h>
+#include <ctype.h>
+#include <stdlib.h>
 
 #include <lw_alloc.h>
 #include <lw_string.h>
@@ -31,6 +33,7 @@
 
 extern int expand_macro(asmstate_t *as, line_t *l, char **p, char *opc);
 extern int expand_struct(asmstate_t *as, line_t *l, char **p, char *opc);
+extern int add_macro_line(asmstate_t *as, char *optr);
 
 /*
 pass 1: parse the lines