Strip off version numbers from dir name
[dockapps.git] / wmweather+ / b0rken / malloc.c
blob67b7494538446a0d06e7b07e037ce08f6bb4232f
1 /* Version of malloc that avoids the malloc(0) bug */
3 #if HAVE_CONFIG_H
4 # include "config.h"
5 #endif
6 #undef malloc
8 #include <sys/types.h>
10 void *malloc();
12 void *rpl_malloc(size_t size){
13 if(size==0) size=1;
14 return malloc(size);