removed some lint complaints

This commit is contained in:
ceriel 1988-06-28 13:43:54 +00:00
parent 724d5ba148
commit bd975e3041
2 changed files with 6 additions and 1 deletions

View file

@ -76,8 +76,10 @@ register item_t *ip;
newlabel(ip) newlabel(ip)
register item_t *ip; register item_t *ip;
{ {
#if DEBUG != 0
#ifdef THREE_PASS #ifdef THREE_PASS
register addr_t oldval = ip->i_valu; register addr_t oldval = ip->i_valu;
#endif
#endif #endif
if (DOTSCT == NULL) if (DOTSCT == NULL)
@ -94,7 +96,7 @@ register item_t *ip;
newsect(ip) newsect(ip)
register item_t *ip; register item_t *ip;
{ {
register ushort typ; register short typ;
register sect_t *sp = NULL; register sect_t *sp = NULL;
typ = ip->i_type & S_TYP; typ = ip->i_type & S_TYP;
@ -128,6 +130,7 @@ register item_t *ip;
switchsect(typ); switchsect(typ);
} }
/*ARGSUSED*/
newbase(base) newbase(base)
valu_t base; valu_t base;
{ {

View file

@ -12,6 +12,8 @@
#include "comm1.h" #include "comm1.h"
#include "y.tab.h" #include "y.tab.h"
extern char *sprintf();
valu_t valu_t
load(ip) load(ip)
register item_t *ip; register item_t *ip;