X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=string.h;h=3efe6878da98906beeda36a8946cb2c886790c88;hb=27c08870ba172782f6406045007b6ff32a4f7329;hp=08b9965f57d94b52a19dd231c38b2d53aabb824a;hpb=fefff8660daa86834673fdcc284ebe5d02c1d37b;p=paraslash.git diff --git a/string.h b/string.h index 08b9965f..3efe6878 100644 --- a/string.h +++ b/string.h @@ -67,9 +67,11 @@ 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 *para_malloc(size_t size); -__must_check __malloc void *para_calloc(size_t size); +__must_check __malloc void *alloc(size_t size); +__must_check __malloc void *zalloc(size_t size); +__must_check __malloc void *arr_alloc(size_t nmemb, 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);