logo

utils-std

Collection of commonly available Unix tools
commit: 4ad6ddd0e1587ec03e5c11fac8dce09e92ab2b79
parent a52de0831088cd2b66d16529b2b5047a7b1215f6
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed, 29 May 2024 14:28:20 +0200

cmd/basename: Put _NonNull at begining of signature

This prevents clang-format from modifing it to a misleading:
    static char *_NonNull

Diffstat:

Mcmd/basename.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/basename.c b/cmd/basename.c @@ -14,7 +14,7 @@ #define _NonNull #endif -static char * _NonNull +_NonNull static char * suffix_basename(char *name, char *suffix) { char *string = basename(name);