prevent some gcc warnings

This commit is contained in:
ceriel 1993-11-16 11:54:00 +00:00
parent 70b035d559
commit 65592bae41
2 changed files with 3 additions and 2 deletions

View file

@ -9,6 +9,8 @@
#include <assert.h>
#include <em_arith.h>
#include <em_label.h>
#include <system.h>
#include <print.h>
#include "LLlex.h"
#include "Lpars.h"
@ -24,6 +26,7 @@
#include "type.h"
extern char *symbol2str();
STATIC int ChkUnOper();
STATIC
Xerror(nd, mess)
@ -728,7 +731,6 @@ ChkVarPar(nd, name)
*/
static char err_mes[80];
char *message = (char *) 0;
extern char *sprint();
if( !ChkVariable(nd) ) return 0;

View file

@ -21,7 +21,6 @@
#include "type.h"
#include "dbsymtab.h"
#define offsetof(type, field) (int) &(((type *)0)->field)
#define PC_BUFSIZ (sizeof(struct file) - (int)((struct file *)0)->bufadr)
int proclevel = 0; /* nesting level of procedures */