diff --git a/src/global.h b/src/global.h index 615872325d8e7e543b8f4e1b196f3566af854e3e..d882f2f8dc301f84d11026965bb1cbc8cb0e7bdf 100644 --- a/src/global.h +++ b/src/global.h @@ -660,10 +660,10 @@ struct iovec { #endif #ifdef MALLOC_DECL_MISSING -char *malloc PROT((int)); -char *realloc PROT((char *,int)); -void free PROT((char *)); -char *calloc PROT((int,int)); +void *malloc PROT((int)); +void *realloc PROT((void *,int)); +void free PROT((void *)); +void *calloc PROT((int,int)); #endif #ifdef GETPEERNAME_DECL_MISSING