summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm/drm_linux.c
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2021-01-08 16:06:30 +0000
committertb <tb@openbsd.org>2021-01-08 16:06:30 +0000
commit8ce2995a34a601a9ef340d68d2e6405dcd9ca268 (patch)
tree77afbf444b1f6ce86146952fc55397a3400d45a4 /sys/dev/pci/drm/drm_linux.c
parentBump default datasize-max and datasize-cur since clang now seems to (diff)
downloadwireguard-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