CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2021/01/08 09:06:30
Modified files:
lib/libc/gen : fts.c
Log message:
Make fts_{alloc,safe_changed}() const correct
Previously, this code was passing string constants to functions that did
not declare their parameters as const. After this patch, the functions now
declare that they do not modify these arguments, making it safe to pass
string constants. Fixes -Wincompatible-pointer-types-discards-qualifiers.
>From Adam Barth <abarth google com>
ok millert