compiler appeasement

This commit is contained in:
rsc 2004-12-28 23:27:16 +00:00
parent 48907e89cb
commit e5d47e6e15
2 changed files with 5 additions and 2 deletions

View file

@ -24,7 +24,7 @@ enum
static char EBadEntry[] = "bad VtEntry"; static char EBadEntry[] = "bad VtEntry";
static char ENotDir[] = "walk in non-directory"; static char ENotDir[] = "walk in non-directory";
static char ETooBig[] = "file too big"; static char ETooBig[] = "file too big";
static char EBadAddr[] = "bad address"; /* static char EBadAddr[] = "bad address"; */
static char ELabelMismatch[] = "label mismatch"; static char ELabelMismatch[] = "label mismatch";
static int sizetodepth(uvlong s, int psize, int dsize); static int sizetodepth(uvlong s, int psize, int dsize);

View file

@ -75,7 +75,9 @@ static char EPacketSize[] = "bad packet size";
static char EPacketOffset[] = "bad packet offset"; static char EPacketOffset[] = "bad packet offset";
static char EBadSize[] = "bad size"; static char EBadSize[] = "bad size";
#if 0
static void checkpacket(Packet*); static void checkpacket(Packet*);
#endif
/* /*
* the free list is primarily for speed, but it is * the free list is primarily for speed, but it is
@ -1006,6 +1008,7 @@ memtail(Mem *m, uchar *wp, int n)
return 0; return 0;
} }
#if 0
static void static void
checkpacket(Packet *p) checkpacket(Packet *p)
{ {
@ -1026,4 +1029,4 @@ checkpacket(Packet *p)
if(p->first) if(p->first)
assert(ff==p->last); assert(ff==p->last);
} }
#endif