~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/thr_mutex.c

  • Committer: Monty Taylor
  • Date: 2008-08-02 01:03:15 UTC
  • mto: (236.1.42 codestyle)
  • mto: This revision was merged to the branch mainline in revision 261.
  • Revision ID: monty@inaugust.com-20080802010315-65h5938pymg9d99z
Moved m4 macros to top-level m4 dir, per GNU standards (and where gettext wanted it :)

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
                    const char *file,
58
58
                    uint line)
59
59
{
60
 
  memset(mp, 0, sizeof(*mp));
 
60
  memset((char*) mp, 0, sizeof(*mp));
61
61
  pthread_mutex_init(&mp->global,MY_MUTEX_INIT_ERRCHK);
62
62
  pthread_mutex_init(&mp->mutex,attr);
63
63
  /* Mark that mutex is initialized */