further simplify
XXX check whose platforms’ realloc(3) don’t take NULL
This commit is contained in:
6
sh.h
6
sh.h
@@ -102,7 +102,7 @@
|
||||
#define __SCCSID(x) __IDSTRING(sccsid,x)
|
||||
|
||||
#ifdef EXTERN
|
||||
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.284 2009/03/22 18:50:43 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.285 2009/03/24 08:53:45 tg Exp $");
|
||||
#endif
|
||||
#define MKSH_VERSION "R37 2009/03/22"
|
||||
|
||||
@@ -398,8 +398,8 @@ char *ucstrstr(char *, const char *);
|
||||
/*
|
||||
* simple grouping allocator
|
||||
*/
|
||||
typedef struct {
|
||||
void *ent; /* entry pointer, must be first */
|
||||
typedef struct lalloc {
|
||||
struct lalloc *next;
|
||||
} Area;
|
||||
|
||||
EXTERN Area aperm; /* permanent object space */
|
||||
|
Reference in New Issue
Block a user