aboutsummaryrefslogtreecommitdiff
path: root/libiberty/crc32.c
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2011-02-03 07:23:59 +0000
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2011-02-03 07:23:59 +0000
commitd4d868a28076273e828f299e896dbc1af827208a (patch)
tree450a54c91a2a493146b9c9b1ea89f764f5fd3765 /libiberty/crc32.c
parent876c33db725954517df40daa09c6062f9431d68b (diff)
downloadfsf-binutils-gdb-d4d868a28076273e828f299e896dbc1af827208a.zip
fsf-binutils-gdb-d4d868a28076273e828f299e896dbc1af827208a.tar.gz
fsf-binutils-gdb-d4d868a28076273e828f299e896dbc1af827208a.tar.bz2
libiberty: documentation markup and order fixes.
libiberty/: * splay-tree.c: Escape wrapping newlines in texinfo markup with '@', to fix function declaration output rendering. * gather-docs: Relax and improve macro name matching to actually match all current names and to allow input line wrapping. * bsearch.c, concat.c, crc32.c, fnmatch.txh, fopen_unlocked.c, hashtab.c, insque.c, make-relative-prefix.c, memchr.c, memcmp.c, memcpy.c, memmem.c, memmove.c, mempcpy.c, memset.c, pexecute.txh, random.c, setenv.c, setproctitle.c, simple-object.txh, snprintf.c, stpncpy.c, strncmp.c, strtod.c, strtol.c, vasprintf.c, vprintf.c, vsnprintf.c, xmemdup.c: Wrap long texinfo input lines. * functions.texi: Regenerate.
Diffstat (limited to 'libiberty/crc32.c')
-rw-r--r--libiberty/crc32.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libiberty/crc32.c b/libiberty/crc32.c
index c12916b..12d9be0 100644
--- a/libiberty/crc32.c
+++ b/libiberty/crc32.c
@@ -1,5 +1,5 @@
/* crc32.c
- Copyright (C) 2009 Free Software Foundation, Inc.
+ Copyright (C) 2009, 2011 Free Software Foundation, Inc.
This file is part of the libiberty library.
@@ -138,7 +138,8 @@ static const unsigned int crc32_table[] =
/*
-@deftypefn Extension unsigned int crc32 (const unsigned char *@var{buf}, int @var{len}, unsigned int @var{init})
+@deftypefn Extension {unsigned int} crc32 (const unsigned char *@var{buf}, @
+ int @var{len}, unsigned int @var{init})
Compute the 32-bit CRC of @var{buf} which has length @var{len}. The
starting value is @var{init}; this may be used to compute the CRC of