| 152 | } |
| 153 | |
| 154 | static void add_opt(const struct opt_table *entry) |
| 155 | { |
| 156 | opt_table = opt_alloc.realloc(opt_table, |
| 157 | sizeof(opt_table[0]) * (opt_count+1)); |
| 158 | opt_table[opt_count++] = *entry; |
| 159 | } |
| 160 | |
| 161 | void _opt_register(const char *names, enum opt_type type, |
| 162 | char *(*cb)(void *arg), |
no outgoing calls
no test coverage detected