helpers.h: style fix
This commit is contained in:
parent
c1ffe4d9f2
commit
287d71bd25
@ -96,8 +96,10 @@ _unused static char *xstrdup(const char *str)
|
|||||||
|
|
||||||
#undef ERRX
|
#undef ERRX
|
||||||
|
|
||||||
/* basename_c never modifies the argument. As such, if there is a trailing
|
/*
|
||||||
* slash then an empty string is returned. */
|
* basename_c never modifies the argument. As such, if there is a trailing
|
||||||
|
* slash then an empty string is returned.
|
||||||
|
*/
|
||||||
_unused static const char *basename_c(const char *path)
|
_unused static const char *basename_c(const char *path)
|
||||||
{
|
{
|
||||||
const char *slash = strrchr(path, '/');
|
const char *slash = strrchr(path, '/');
|
||||||
|
Loading…
Reference in New Issue
Block a user