(__argp_base_name): New function
Showing
1 changed file
with
8 additions
and
0 deletions
... | @@ -1334,3 +1334,11 @@ mu_is_proto (const char *p) | ... | @@ -1334,3 +1334,11 @@ mu_is_proto (const char *p) |
1334 | return 0; | 1334 | return 0; |
1335 | } | 1335 | } |
1336 | 1336 | ||
1337 | char * | ||
1338 | __argp_base_name (const char *arg) | ||
1339 | { | ||
1340 | char *p = strrchr (arg, '/'); | ||
1341 | return p ? p + 1 : arg; | ||
1342 | } | ||
1343 | |||
1344 | ... | ... |
-
Please register or sign in to post a comment