X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=string.c;h=bbc322eb52dd2c529bd0622e84b2f2eeabe290fb;hb=26a032fffa6c6e6f092ed3d14c2b5f08e5c736d6;hp=b75d0af33959619a01a812b7838389ea1b95761a;hpb=610cb53b94af8e95326cd44b7845f35cffdb6bf3;p=paraslash.git diff --git a/string.c b/string.c index b75d0af3..bbc322eb 100644 --- a/string.c +++ b/string.c @@ -70,18 +70,16 @@ __must_check __malloc void *alloc(size_t size) } /** - * Paraslash's version of calloc(). + * Allocate and initialize memory. * * \param size The desired new size. * - * A wrapper for calloc(3) which exits on errors. - * * \return A pointer to the allocated and zeroed-out memory, which is suitably * aligned for any kind of variable. * - * \sa calloc(3) + * \sa \ref alloc(), calloc(3). */ -__must_check __malloc void *para_calloc(size_t size) +__must_check __malloc void *zalloc(size_t size) { void *ret = alloc(size);