~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/checksum.c

  • Committer: Monty Taylor
  • Date: 2008-07-05 11:20:18 UTC
  • mto: This revision was merged to the branch mainline in revision 62.
  • Revision ID: monty@inaugust.com-20080705112018-fr12kkmgphtu7m29
Changes so that removal of duplicate curr_dir from my_sys.h work.

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
}