Sync with sys/i386/boot/kzipboot/malloc.c revision 1.7.

This commit is contained in:
KATO Takenori 1998-11-13 08:18:14 +00:00
parent c5118de899
commit e4b4a0d1dc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=41129

View File

@ -36,9 +36,8 @@
extern unsigned char *storage;
void *
malloc(nbytes, junk1, junk2) /* junk? not used */
kzipmalloc(nbytes)
size_t nbytes;
int junk1, junk2;
{
unsigned char *p = storage;
storage += nbytes;
@ -51,8 +50,7 @@ malloc(nbytes, junk1, junk2) /* junk? not used */
}
void
free(cp, junk) /* junk not used */
kzipfree(cp)
void *cp;
int junk;
{
}