00001 /*************************************************************************** 00002 xmalloc.h 00003 ------------------- 00004 begin : Sun Nov 4 2001 00005 copyright : (C) 2001-2002 by Christian Hoenig & Gunter Ohrner 00006 email : pdepp@CustomCDROM.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00023 #ifndef XMALLOC_H_FLAG 00024 #define XMALLOC_H_FLAG 00025 00026 #include "common.h" 00027 00028 #include <sys/types.h> 00029 00037 void* pd_realloc(void* ptr, size_t size); 00038 00045 void* pd_malloc(size_t size); 00046 00053 void pd_free(void *ptr); 00054 00055 00056 #endif