]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - string.c
string: Rename para_calloc() -> zalloc().
[paraslash.git] / string.c
index b75d0af33959619a01a812b7838389ea1b95761a..bbc322eb52dd2c529bd0622e84b2f2eeabe290fb 100644 (file)
--- 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);