1 /* 2 Copyright (c) 1990 Regents of the University of California. 3 All rights reserved. 4 */ 5 #ifndef MALLOC_PROVIDED 6 /* mtrim.c -- a wrapper for malloc_trim. */ 7 8 #include <_ansi.h> 9 #include <stdlib.h> 10 #include <malloc.h> 11 12 #ifndef _REENT_ONLY 13 14 int malloc_trim(size_t pad)15malloc_trim (size_t pad) 16 { 17 return _malloc_trim_r (_REENT, pad); 18 } 19 20 #endif 21 #endif 22