~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_unixpath.cc

  • Committer: Brian Aker
  • Date: 2008-12-02 16:33:43 UTC
  • mfrom: (632.1.19 devel)
  • Revision ID: brian@tangent.org-20081202163343-007ifg17p0lvjga7
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
        /* convert filename to unix style filename */
20
20
        /* If MSDOS converts '\' to '/' */
21
21
 
22
 
void to_unix_path(char * to __attribute__((unused)))
 
22
void to_unix_path(char * to)
23
23
{
24
24
#if FN_LIBCHAR != '/'
25
25
  {
27
27
    while ((to=strchr(to+1,FN_LIBCHAR)) != 0)
28
28
      *to='/';
29
29
  }
 
30
#else
 
31
  (void)to;
30
32
#endif
31
33
}