~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_gethwaddr.c

  • Committer: Brian Aker
  • Date: 2008-10-06 06:47:29 UTC
  • Revision ID: brian@tangent.org-20081006064729-2i9mhjkzyvow9xsm
RemoveĀ uint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#ifndef MAIN
23
23
 
24
24
#if defined(__FreeBSD__) || defined(__linux__)
25
 
static bool memcpy_and_test(unsigned char *to, unsigned char *from, uint len)
 
25
static bool memcpy_and_test(unsigned char *to, unsigned char *from, uint32_t len)
26
26
{
27
 
  uint i, res=1;
 
27
  uint32_t i, res=1;
28
28
 
29
29
  for (i=0; i < len; i++)
30
30
    if ((*to++= *from++))
113
113
int main(int argc __attribute__((unused)),char **argv)
114
114
{
115
115
  unsigned char mac[6];
116
 
  uint i;
 
116
  uint32_t i;
117
117
  MY_INIT(argv[0]);
118
118
  if (my_gethwaddr(mac))
119
119
  {