| 14 | } |
| 15 | |
| 16 | int |
| 17 | prefix_cmp(const char *str, const char *prefix) |
| 18 | { |
| 19 | for (;; str++, prefix++) |
| 20 | if (!*prefix) |
| 21 | return 0; |
| 22 | else if (*str != *prefix) |
| 23 | return (unsigned char)*prefix - (unsigned char)*str; |
| 24 | } |
| 25 | |
| 26 | static void |
| 27 | argparse_error(struct argparse *this_, const struct argparse_option *opt, |