diff --git a/src/sys/lib/kmalloc.c b/src/sys/lib/kmalloc.c index 647e0a1..cff9893 100644 --- a/src/sys/lib/kmalloc.c +++ b/src/sys/lib/kmalloc.c @@ -35,9 +35,9 @@ #include #include -struct memDescriptor *kernDesc = 0x0; -struct memDescriptor *freeKernDesc = 0x0; -struct memDescriptor *emptyKernDesc = 0x0; +static struct memDescriptor *kernDesc = 0x0; +static struct memDescriptor *freeKernDesc = 0x0; +static struct memDescriptor *emptyKernDesc = 0x0; static spinLock_t mallocSpinLock = SPIN_LOCK_INITIALIZER; @@ -329,6 +329,9 @@ /*** $Log$ + Revision 1.7 2004/06/17 02:54:54 flameshadow + chg: fixed cast + Revision 1.6 2004/05/26 11:56:51 reddawg kmalloc: fixed memrgeMemBlocks hopefully it will prevent future segfault issues by not having any more overlapping blocks