From 29f543b603f95cedfc1595442fba05763a62fcd6 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 7 Oct 1993 14:07:42 +0000 Subject: [PATCH] Some minor changes: prevent some warnings --- lang/cem/cemcom/input.c | 1 + lang/cem/cemcom/struct.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lang/cem/cemcom/input.c b/lang/cem/cemcom/input.c index cc66bc203..45b002cea 100644 --- a/lang/cem/cemcom/input.c +++ b/lang/cem/cemcom/input.c @@ -13,6 +13,7 @@ struct file_info finfo; extern int nestlevel; #include "nopp.h" #include +#include #include "dbsymtab.h" #ifndef NOPP diff --git a/lang/cem/cemcom/struct.c b/lang/cem/cemcom/struct.c index 9f9d0d76d..04165a22a 100644 --- a/lang/cem/cemcom/struct.c +++ b/lang/cem/cemcom/struct.c @@ -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;