~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/checksum.c

  • Committer: Jay Pipes
  • Date: 2008-07-21 17:52:33 UTC
  • mto: (201.2.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 204.
  • Revision ID: jay@mysql.com-20080721175233-mtyz298j8xl3v63y
cleanup of FAQ file

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
16
 
17
 
#include "mysys_priv.h"
18
 
 
 
17
#include <my_global.h>
19
18
#include <my_sys.h>
20
19
#include <zlib.h>
21
20
 
29
28
      length    length of the block
30
29
*/
31
30
 
32
 
ha_checksum my_checksum(ha_checksum crc, const unsigned char *pos, size_t length)
 
31
ha_checksum my_checksum(ha_checksum crc, const uchar *pos, size_t length)
33
32
{
34
33
  return (ha_checksum)crc32((uint)crc, pos, length);
35
34
}