comparison libiberty/crc32.c @ 67:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents 77e2b8dfacca
children 04ced10e8804
comparison
equal deleted inserted replaced
65:65488c3d617d 67:f6334be47118
1 /* crc32.c 1 /* crc32.c
2 Copyright (C) 2009 Free Software Foundation, Inc. 2 Copyright (C) 2009, 2011 Free Software Foundation, Inc.
3 3
4 This file is part of the libiberty library. 4 This file is part of the libiberty library.
5 5
6 This file is free software; you can redistribute it and/or modify 6 This file is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 7 it under the terms of the GNU General Public License as published by
136 0xbcb4666d, 0xb8757bda, 0xb5365d03, 0xb1f740b4 136 0xbcb4666d, 0xb8757bda, 0xb5365d03, 0xb1f740b4
137 }; 137 };
138 138
139 /* 139 /*
140 140
141 @deftypefn Extension unsigned int crc32 (const unsigned char *@var{buf}, int @var{len}, unsigned int @var{init}) 141 @deftypefn Extension {unsigned int} crc32 (const unsigned char *@var{buf}, @
142 int @var{len}, unsigned int @var{init})
142 143
143 Compute the 32-bit CRC of @var{buf} which has length @var{len}. The 144 Compute the 32-bit CRC of @var{buf} which has length @var{len}. The
144 starting value is @var{init}; this may be used to compute the CRC of 145 starting value is @var{init}; this may be used to compute the CRC of
145 data split across multiple buffers by passing the return value of each 146 data split across multiple buffers by passing the return value of each
146 call as the @var{init} parameter of the next. 147 call as the @var{init} parameter of the next.