~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_sync.c

  • Committer: Brian Aker
  • Date: 2008-07-24 01:17:13 UTC
  • mfrom: (202.1.18 codestyle)
  • Revision ID: brian@tangent.org-20080724011713-5jceruz4bd4oawaq
Merge Monty's work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
  RETURN
95
95
    0 if ok, !=0 if error
96
96
*/
97
 
int my_sync_dir(const char *dir_name, myf my_flags)
 
97
int my_sync_dir(const char *dir_name __attribute__((unused)),
 
98
                myf my_flags __attribute__((unused)))
98
99
{
99
100
#ifdef NEED_EXPLICIT_SYNC_DIR
100
101
  File dir_fd;
133
134
  RETURN
134
135
    0 if ok, !=0 if error
135
136
*/
136
 
int my_sync_dir_by_file(const char *file_name, myf my_flags)
 
137
int my_sync_dir_by_file(const char *file_name __attribute__((unused)),
 
138
                        myf my_flags __attribute__((unused)))
137
139
{
138
140
#ifdef NEED_EXPLICIT_SYNC_DIR
139
141
  char dir_name[FN_REFLEN];