diff options
author | 2021-01-08 16:06:30 +0000 | |
---|---|---|
committer | 2021-01-08 16:06:30 +0000 | |
commit | 8ce2995a34a601a9ef340d68d2e6405dcd9ca268 (patch) | |
tree | 77afbf444b1f6ce86146952fc55397a3400d45a4 /sys/dev/pci/drm/drm_linux.c | |
parent | Bump default datasize-max and datasize-cur since clang now seems to (diff) | |
download | wireguard-openbsd-8ce2995a34a601a9ef340d68d2e6405dcd9ca268.tar.xz wireguard-openbsd-8ce2995a34a601a9ef340d68d2e6405dcd9ca268.zip |
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
Diffstat (limited to 'sys/dev/pci/drm/drm_linux.c')
0 files changed, 0 insertions, 0 deletions