Some minor changes: prevent some warnings
authorceriel <none@none>
Thu, 7 Oct 1993 14:07:42 +0000 (14:07 +0000)
committerceriel <none@none>
Thu, 7 Oct 1993 14:07:42 +0000 (14:07 +0000)
lang/cem/cemcom/input.c
lang/cem/cemcom/struct.c

index cc66bc2..45b002c 100644 (file)
@@ -13,6 +13,7 @@ struct file_info      finfo;
 extern int             nestlevel;
 #include "nopp.h"
 #include <inp_pkg.body>
+#include <alloc.h>
 
 #include       "dbsymtab.h"
 #ifndef NOPP
index 9f9d0d7..04165a2 100644 (file)
@@ -182,6 +182,8 @@ check_selector(idf, stp)
        }
 }
 
+char *symbol2str();
+
 declare_struct(fund, idf, tpp)
        register struct idf *idf;
        struct type **tpp;
@@ -192,7 +194,6 @@ declare_struct(fund, idf, tpp)
                The idf may be missing (i.e. idf == 0), in which case an
                anonymous struct etc. is defined.
        */
-       extern char *symbol2str();
        register struct tag **tgp;
        register struct tag *tg;