493 |
static int |
static int |
494 |
read_device_map (FILE *fp, char **map, const char *map_file) |
read_device_map (FILE *fp, char **map, const char *map_file) |
495 |
{ |
{ |
496 |
static void show_error (int no, const char *msg) |
auto void show_error (int no, const char *msg); |
497 |
|
auto void show_warning (int no, const char *msg, ...); |
498 |
|
|
499 |
|
auto void show_error (int no, const char *msg) |
500 |
{ |
{ |
501 |
fprintf (stderr, "%s:%d: error: %s\n", map_file, no, msg); |
fprintf (stderr, "%s:%d: error: %s\n", map_file, no, msg); |
502 |
} |
} |
503 |
|
|
504 |
static void show_warning (int no, const char *msg, ...) |
auto void show_warning (int no, const char *msg, ...) |
505 |
{ |
{ |
506 |
va_list ap; |
va_list ap; |
507 |
|
|