xserver/hw
Enrico Weigelt, metux IT consult 6eea4f0b8c xfree86: os-support: bsd: fix warning on discarded const
Fix warnings:

../hw/xfree86/os-support/bsd/bsd_init.c
../hw/xfree86/os-support/bsd/bsd_init.c:91:5: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   91 |     "pccons (with X support)",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
../hw/xfree86/os-support/bsd/bsd_init.c:97:5: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   97 |     "pcvt",
      |     ^~~~~~
../hw/xfree86/os-support/bsd/bsd_init.c💯5: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  100 |     "wscons",
      |     ^~~~~~~~

../hw/xfree86/os-support/bsd/bsd_init.c:462:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  462 |     vtprefix = "/dev/ttyv";
      |              ^
../hw/xfree86/os-support/bsd/bsd_init.c:471:18: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  471 |         vtprefix = "/dev/ttyE";
      |                  ^

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1446>
2024-04-17 23:50:09 +00:00
..
kdrive os: unexport Os*() functions 2024-04-16 14:20:30 +02:00
vfb os: unexport Os*() functions 2024-04-16 14:20:30 +02:00
xfree86 xfree86: os-support: bsd: fix warning on discarded const 2024-04-17 23:50:09 +00:00
xnest os: unexport Os*() functions 2024-04-16 14:20:30 +02:00
xquartz Fix missing include of sys/stat.h 2024-04-17 10:55:10 +02:00
xwayland xwayland: Use exec name instead of hardcoding '/Xwayland' 2024-04-17 15:20:05 +00:00
xwin os: unexport Os*() functions 2024-04-16 14:20:30 +02:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00