On 6/20/2026 6:45 AM, Filip Kastl wrote:
> This patch removes the const keyword from the second parameter of
> extract_quoted_files.  The function actually does modify the string
> passed through that parameter.  Moreover, clang currently produces a
> warning when compiling this file since in C23, strrchr of a const char *
> returns const char *.  This patch gets rid of that warning.
>
> I've also stumbled upon some trailing whitespace so I removed that too.
>
> Bootstrapped and regtested on x86_64 linux.  I would push this as
> trivial, but this is the first time I'm modifying fixincludes, so I'm
> trying to be careful.
>
> fixincludes/ChangeLog:
>
>       * fixincl.c (cksum_test): Remove trailing whitespace.
>       (quoted_file_exists): Remove trailing whitespace.
>       (extract_quoted_files): const char * -> char *.
>       (fix_with_system): Remove trailing whitespace.
>
> Signed-off-by: Filip Kastl <[email protected]>
OK.  Thanks.

jeff

Reply via email to