X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=string.h;h=45c359f3d56138301bf6324746ee61f7e4930cee;hb=f484411f1a48386975f55d1273750ca3c926aa9a;hp=02e315776d8833000f3375fac0cd7ce13f84f2ee;hpb=610cb53b94af8e95326cd44b7845f35cffdb6bf3;p=paraslash.git diff --git a/string.h b/string.h index 02e31577..45c359f3 100644 --- a/string.h +++ b/string.h @@ -67,9 +67,10 @@ int for_each_line(unsigned flags, char *buf, size_t size, } \ ) +__must_check void *arr_realloc(void *ptr, size_t nmemb, size_t size); __must_check void *para_realloc(void *p, size_t size); __must_check __malloc void *alloc(size_t size); -__must_check __malloc void *para_calloc(size_t size); +__must_check __malloc void *zalloc(size_t size); __must_check __malloc char *para_strdup(const char *s); __printf_2_0 unsigned xvasprintf(char **result, const char *fmt, va_list ap);