home *** CD-ROM | disk | FTP | other *** search
-
- #define NOCCARGC
- extern char *_memptr;
- /*
- ** free(ptr) - free previously allocated memory block.
- ** Memory must be freed in the reverse order fromw which
- ** it was allocated.
- ** ptr = value returned from calloc() or malloc().
- ** Returns ptr if successful or NULL otherwise.
- */
- free(ptr) char *ptr; {
- return(_memptr = ptr);
- }
-
- #asm
- cfree equ free
- entry cfree
- #endasm
-
-