~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to test/resolve_stack_dump.c

Fixed warnings in test

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
};
62
62
 
63
63
 
64
 
static void verify_sort();
 
64
static void verify_sort(void);
65
65
 
66
66
 
67
67
#include <help_start.h>
73
73
}
74
74
 
75
75
 
76
 
static void usage()
 
76
static void usage(void)
77
77
{
78
78
  print_version();
79
79
  printf("MySQL AB, by Sasha Pachev\n");
158
158
}
159
159
 
160
160
 
161
 
static void open_files()
 
161
static void open_files(void)
162
162
{
163
163
  fp_out = stdout;
164
164
  fp_dump = stdin;
222
222
  return 0;
223
223
}
224
224
 
225
 
static void init_sym_table()
 
225
static void init_sym_table(void)
226
226
{
227
227
  char buf[512];
228
228
  if (my_init_dynamic_array(&sym_table, sizeof(SYM_ENTRY), INIT_SYM_TABLE,
241
241
  verify_sort();
242
242
}
243
243
 
244
 
static void clean_up()
 
244
static void clean_up(void)
245
245
{
246
246
  delete_dynamic(&sym_table);
247
247
}
284
284
}
285
285
 
286
286
 
287
 
static void do_resolve()
 
287
static void do_resolve(void)
288
288
{
289
289
  char buf[1024], *p;
290
290
  while (fgets(buf, sizeof(buf), fp_dump))