xserver/hw/xfree86/os-support
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
..
bsd xfree86: os-support: bsd: fix warning on discarded const 2024-04-17 23:50:09 +00:00
bus Remove autotools support 2021-10-27 13:15:40 +03:00
hurd xfree86: os-support: fix missing include of <errno.h> 2024-03-21 17:32:30 +01:00
linux xfree86: drop unused xf86EnableAGP() 2024-04-17 02:05:36 +00:00
misc xfree86: drop unused xf86SetReallySlowBcopy() 2024-04-17 01:54:28 +00:00
shared Fix missing include of sys/stat.h 2024-04-17 10:55:10 +02:00
solaris Fix missing include of sys/stat.h 2024-04-17 10:55:10 +02:00
stub Remove autotools support 2021-10-27 13:15:40 +03:00
int10Defines.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
meson.build Revert "Compile lnx_platform.c on FreeBSD too." 2023-12-02 11:39:24 -08:00
xf86OSpriv.h xfree86: Remove xf86LinearVidMem 2014-09-16 11:58:53 -04:00
xf86_OSlib.h Fix missing include of sys/stat.h 2024-04-17 10:55:10 +02:00
xf86_OSproc.h xfree86: drop unused xf86EnableAGP() 2024-04-17 02:05:36 +00:00