~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_pack.cc

  • Committer: Brian Aker
  • Date: 2009-10-12 06:15:02 UTC
  • mfrom: (1165.1.178 static-functions)
  • Revision ID: brian@gaz-20091012061502-cds4m0cya7ow8sj7
Merge Stewart

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
43
43
    #  length of new name
44
44
*/
45
45
 
46
 
size_t cleanup_dirname(register char *to, const char *from)
 
46
static size_t cleanup_dirname(register char *to, const char *from)
47
47
{
48
48
  register size_t length;
49
49
  register char * pos;
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));