aboutsummaryrefslogtreecommitdiff
path: root/src/includes/helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/includes/helpers.h')
-rw-r--r--src/includes/helpers.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/includes/helpers.h b/src/includes/helpers.h
index 1a00d3d0..8d8b16e8 100644
--- a/src/includes/helpers.h
+++ b/src/includes/helpers.h
@@ -96,8 +96,10 @@ _unused static char *xstrdup(const char *str)
#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)
{
const char *slash = strrchr(path, '/');