1 /* @(#)pmalloc.h 1.1 04/02/20 Copyright 2004 J. Schilling */ 2 /* 3 * Paranoia malloc() functions 4 * 5 * Copyright (c) 2004 J. Schilling 6 */ 7 /* 8 * This library is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU Lesser General Public License version 2.1 10 * as published by the Free Software Foundation. 11 * 12 * This library is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Lesser General Public License for more details. 16 * 17 * You should have received a copy of the GNU Lesser General Public 18 * License along with this library; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 */ 21 22 #ifndef _PMALLOC_H 23 #define _PMALLOC_H 24 25 extern void _pfree __PR((void *ptr)); 26 extern void *_pmalloc __PR((size_t size)); 27 extern void *_pcalloc __PR((size_t nelem, size_t elsize)); 28 extern void *_prealloc __PR((void *ptr, size_t size)); 29 30 #endif /* _PMALLOC_H */ 31