From dc3552c32ea6c65b9894cac0631f3591c21c06e8 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 2 Feb 2007 00:31:40 +0100 Subject: [PATCH 1/1] string.c: Add missing \return in documentation --- string.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/string.c b/string.c index 47c5417d..7db262bb 100644 --- a/string.c +++ b/string.c @@ -85,8 +85,8 @@ __must_check __malloc void *para_malloc(size_t size) * * A wrapper for calloc(3) which exits on errors. * - * A pointer to the allocated and zeroed-out memory, which is suitably aligned - * for any kind of variable. + * \return A pointer to the allocated and zeroed-out memory, which is suitably + * aligned for any kind of variable. * * \sa calloc(3) */ @@ -103,8 +103,8 @@ __must_check __malloc void *para_calloc(size_t size) * * \param s string to be duplicated * - * A wrapper for strdup(3). It calls exit(EXIT_FAILURE) on errors, i.e. there - * is no need to check the return value in the caller. + * A wrapper for strdup(3). It calls \p exit(EXIT_FAILURE) on errors, i.e. + * there is no need to check the return value in the caller. * * \return A pointer to the duplicated string. If \p s was the NULL pointer, * an pointer to an empty string is returned. -- 2.39.2