xserver/hw/xfree86/os-support/solaris
Alan Coopersmith 913416b718 Solaris: delete undocumented, unuseful -protect0 flag
Solaris already makes the page at address 0 inaccessible by default to
catch NULL pointer bugs, we don't need a double secret undocumented flag
to try to make our own hacky attempt at it.

As a bonus, deleting this code removes gcc warning of:

sun_init.c: In function 'xf86OpenConsole':
sun_init.c:103:17: warning: declaration of 'fd' shadows a previous local [-Wshadow]
             int fd = -1;
                 ^
sun_init.c:89:9: warning: shadowed declaration is here [-Wshadow]
     int fd;
         ^

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
2014-12-11 11:44:14 -08:00
..
Makefile.am Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
apSolaris.shar Updated Solaris aperture driver to build on sun4v & amd64 kernels 2006-06-29 16:25:36 -07:00
solaris-amd64.S Sun's copyrights now belong to Oracle 2010-12-07 11:10:35 -08:00
solaris-ia32.S Sun's copyrights now belong to Oracle 2010-12-07 11:10:35 -08:00
solaris-sparcv8plus.S Sun's copyrights now belong to Oracle 2010-12-07 11:10:35 -08:00
sun_VTsw.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
sun_agp.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
sun_apm.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
sun_bell.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
sun_init.c Solaris: delete undocumented, unuseful -protect0 flag 2014-12-11 11:44:14 -08:00
sun_inout.s DRI XFree86-4_3_99_12-merge import 2004-06-16 09:22:17 +00:00
sun_vid.c xfree86: Remove xf86ReadBIOS 2014-09-16 11:58:53 -04:00