mesa-drm/tests/modetest
Rudi Heitbaum 91f7cd0ba2 modetest: fix discards 'const' qualifier from pointer target type
Since glibc-2.43:

For ISO C23, the functions bsearch, memchr, strchr, strpbrk, strrchr,
strstr, wcschr, wcspbrk, wcsrchr, wcsstr and wmemchr that return pointers
into their input arrays now have definitions as macros that return a
pointer to a const-qualified type when the input argument is a pointer
to a const-qualified type.

fixes:
    tests/modetest/modetest.c: In function 'parse_connector':
    tests/modetest/modetest.c:1997:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     1997 |                 endp = strpbrk(p, ",@:");
          |                      ^

Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
2026-04-27 17:45:10 +02:00
..
Android.bp modetest: Make modetest availble to vendor on Android 2024-10-29 10:49:10 -06:00
Android.sources.bp Convert to Android.bp 2024-07-29 14:47:30 -04:00
buffers.c modetest: util: add seed argument for noise patterns 2025-06-09 09:31:02 +02:00
buffers.h modetest: util: add seed argument for noise patterns 2025-06-09 09:31:02 +02:00
cursor.c meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
cursor.h modetest: add cursor support 2014-04-22 11:14:12 -04:00
meson.build modetest: custom mode support 2023-09-08 18:19:31 +00:00
modetest.c modetest: fix discards 'const' qualifier from pointer target type 2026-04-27 17:45:10 +02:00