~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_pack.cc

  • Committer: Stewart Smith
  • Date: 2009-10-08 13:27:37 UTC
  • mto: This revision was merged to the branch mainline in revision 1179.
  • Revision ID: stewart@flamingspork.com-20091008132737-qgwt877ahigj4vuz
make system_filename() static to mysys/mf_pack.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#endif
22
22
 
23
23
static char * expand_tilde(char * *path);
24
 
 
 
24
static size_t system_filename(char * to, const char *from);
25
25
 
26
26
/*
27
27
  remove unwanted chars from dirname
285
285
        /* Used before system command's like open(), create() .. */
286
286
        /* Returns used length of to; total length should be FN_REFLEN */
287
287
 
288
 
size_t system_filename(char * to, const char *from)
 
288
static size_t system_filename(char * to, const char *from)
289
289
{
290
290
#ifndef FN_C_BEFORE_DIR
291
291
  return strlen(strncpy(to,from,FN_REFLEN-1));