aboutsummaryrefslogtreecommitdiff
path: root/libiberty/strdup.c
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2001-10-07 22:53:31 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2001-10-07 22:53:31 +0100
commit7f8fa05daed1a59589d41a1edbe7db47825c57c0 (patch)
tree12540ed2bdf09e822d8d7262f4f4319edd0771c7 /libiberty/strdup.c
parentcc712abf045f954314de6c463816ecfbde58ba71 (diff)
downloadgcc-7f8fa05daed1a59589d41a1edbe7db47825c57c0.zip
gcc-7f8fa05daed1a59589d41a1edbe7db47825c57c0.tar.gz
gcc-7f8fa05daed1a59589d41a1edbe7db47825c57c0.tar.bz2
alloca.c, [...]: Improve manual formatting.
* alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c, libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c, strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c, xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix spelling. Give names to function arguments in documentation. Use (void) prototypes in documentation. * functions.texi: Regenerate. From-SVN: r46068
Diffstat (limited to 'libiberty/strdup.c')
-rw-r--r--libiberty/strdup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/strdup.c b/libiberty/strdup.c
index a01cedf..49233ba 100644
--- a/libiberty/strdup.c
+++ b/libiberty/strdup.c
@@ -3,7 +3,7 @@
@deftypefn Supplemental char* strdup (const char *@var{s})
Returns a pointer to a copy of @var{s} in memory obtained from
-@code{malloc}, or NULL if insufficient memory was available.
+@code{malloc}, or @code{NULL} if insufficient memory was available.
@end deftypefn