prevent some gcc warnings
This commit is contained in:
parent
70b035d559
commit
65592bae41
|
@ -9,6 +9,8 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <em_arith.h>
|
#include <em_arith.h>
|
||||||
#include <em_label.h>
|
#include <em_label.h>
|
||||||
|
#include <system.h>
|
||||||
|
#include <print.h>
|
||||||
|
|
||||||
#include "LLlex.h"
|
#include "LLlex.h"
|
||||||
#include "Lpars.h"
|
#include "Lpars.h"
|
||||||
|
@ -24,6 +26,7 @@
|
||||||
#include "type.h"
|
#include "type.h"
|
||||||
|
|
||||||
extern char *symbol2str();
|
extern char *symbol2str();
|
||||||
|
STATIC int ChkUnOper();
|
||||||
|
|
||||||
STATIC
|
STATIC
|
||||||
Xerror(nd, mess)
|
Xerror(nd, mess)
|
||||||
|
@ -728,7 +731,6 @@ ChkVarPar(nd, name)
|
||||||
*/
|
*/
|
||||||
static char err_mes[80];
|
static char err_mes[80];
|
||||||
char *message = (char *) 0;
|
char *message = (char *) 0;
|
||||||
extern char *sprint();
|
|
||||||
|
|
||||||
if( !ChkVariable(nd) ) return 0;
|
if( !ChkVariable(nd) ) return 0;
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
#include "type.h"
|
#include "type.h"
|
||||||
#include "dbsymtab.h"
|
#include "dbsymtab.h"
|
||||||
|
|
||||||
#define offsetof(type, field) (int) &(((type *)0)->field)
|
|
||||||
#define PC_BUFSIZ (sizeof(struct file) - (int)((struct file *)0)->bufadr)
|
#define PC_BUFSIZ (sizeof(struct file) - (int)((struct file *)0)->bufadr)
|
||||||
|
|
||||||
int proclevel = 0; /* nesting level of procedures */
|
int proclevel = 0; /* nesting level of procedures */
|
||||||
|
|
Loading…
Reference in a new issue