| 136 | void my_getopt_init_one_value(const struct my_option *, void *, longlong); |
| 137 | |
| 138 | static inline void convert_underscore_to_dash(char *str, size_t len) |
| 139 | { |
| 140 | for (char *p= str; p <= str+len; p++) |
| 141 | if (*p == '_') |
| 142 | *p= '-'; |
| 143 | else if (*p != '-' && isalnum(*p) == 0) |
| 144 | break; |
| 145 | } |
| 146 | |
| 147 | C_MODE_END |
| 148 |
no outgoing calls
no test coverage detected