X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fpool.h;h=bc60e3a7a297928faff5dd0330e2aeafcd15aa46;hb=0a20082e28caaaf1122510d992e1c6dce755ad0e;hp=7dab5b47e4978806926b1e914667fa0483aa562f;hpb=c708736bdd0fea4b79f3ee4a10e00c3abb95d9e3;p=pspp diff --git a/src/libpspp/pool.h b/src/libpspp/pool.h index 7dab5b47e4..bc60e3a7a2 100644 --- a/src/libpspp/pool.h +++ b/src/libpspp/pool.h @@ -1,6 +1,5 @@ /* PSPP - computes sample statistics. Copyright (C) 2000, 2006 Free Software Foundation, Inc. - Written by Ben Pfaff . This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -73,6 +72,8 @@ char *pool_asprintf (struct pool *, const char *, ...) /* Standard allocation routines. */ void *pool_malloc (struct pool *, size_t) MALLOC_LIKE; void *pool_nmalloc (struct pool *, size_t n, size_t s) MALLOC_LIKE; +void *pool_zalloc (struct pool *, size_t) MALLOC_LIKE; +void *pool_calloc (struct pool *, size_t n, size_t s) MALLOC_LIKE; void *pool_realloc (struct pool *, void *, size_t); void *pool_nrealloc (struct pool *, void *, size_t n, size_t s); void *pool_2nrealloc (struct pool *, void *, size_t *pn, size_t s);