xserver/hw/xfree86/os-support/bsd
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
..
alpha_video.c xfree86: os-support: fix missing include of <errno.h> 2024-03-21 17:32:30 +01:00
arm_video.c xfree86: os-support: fix missing include of <errno.h> 2024-03-21 17:32:30 +01:00
bsd_VTsw.c xfree86: os-support: bsd: fix warning on old-style function definition 2024-04-10 03:24:08 +00:00
bsd_bell.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
bsd_ev56.c xfree86: Remove MMIO_ONB* and friends 2014-07-28 12:19:01 -07:00
bsd_init.c xfree86: os-support: bsd: fix warning on discarded const 2024-04-17 23:50:09 +00:00
bsd_kmod.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
i386_video.c xfree86/bsd: fix build on NetBSD/amd64. 2024-02-18 00:03:45 +00:00
memrange.h Fix spelling/wording issues 2020-07-05 13:07:33 -07:00
ppc_video.c xfree86: os-support: ppc_video: drop unused DEV_MEM define 2024-03-19 01:59:38 +00:00
sparc64_video.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00