| 66 | } |
| 67 | |
| 68 | static unsigned int |
| 69 | nb_common_chars(const char * s1, const char * s2) |
| 70 | { |
| 71 | unsigned int i=0; |
| 72 | |
| 73 | while (*s1==*s2 && *s1) { |
| 74 | s1++; |
| 75 | s2++; |
| 76 | i++; |
| 77 | } |
| 78 | return i; |
| 79 | } |
| 80 | |
| 81 | /** Retrieve either static or dynamic token at a given index. */ |
| 82 | static cmdline_parse_token_hdr_t * |