mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-15 00:13:28 +00:00
xfree86: switch options from pointer to XF86OptionPtr
In all cases, the pointer was simply type-cast anyway. Let's get some compile-time type safety going, how about that. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Squashed in: xfree86: Move definition of xf86OptionPtr into separate header file The pile of spaghettis that is the xfree86 include dependencies make it rather hard to have a single typedef somewhere that's not interfering with everything else or drags in a whole bunch of other includes. Move the xf86OptionRec and GenericListRec declarations into a separate header. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
parent
05284a03f9
commit
24823f1ab0
13 changed files with 168 additions and 134 deletions
|
|
@ -50,3 +50,5 @@ EXTRA_DIST = \
|
|||
sdk_HEADERS = \
|
||||
xf86Parser.h \
|
||||
xf86Optrec.h
|
||||
|
||||
INCLUDES = -I$(srcdir)/../common
|
||||
|
|
|
|||
Loading…
Reference in a new issue