# | Line 27 | Line 27 | static char SCCSid[] = "$SunId$ LBL"; | |
---|---|---|
27 | #ifndef BSD | |
28 | #define bcopy(s,d,n) (void)memcpy(d,s,n) | |
29 | #define bzero(d,n) (void)memset(d,0,n) | |
30 | – | extern char *memcpy(), *memset(); |
30 | #endif | |
31 | ||
32 | #ifdef MSTATS | |
# | Line 304 | Line 303 | register unsigned n; | |
303 | register int bucket; | |
304 | register unsigned bsiz; | |
305 | ||
306 | < | if (n < 1<<FIRSTBUCKET) |
306 | > | if (n < 1<<FIRSTBUCKET || p == NULL) |
307 | return; | |
308 | #ifdef MSTATS | |
309 | b_nfreed += n; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |