mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-02 03:15:52 +00:00
Replace 'pointer' type with 'void *'
This lets us stop using the 'pointer' typedef in Xdefs.h as 'pointer' is used throughout the X server for other things, and having duplicate names generates compiler warnings. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
93fa64e17d
commit
60014a4a98
319 changed files with 1917 additions and 1914 deletions
|
|
@ -396,7 +396,7 @@ InitOutput(ScreenInfo * pScreenInfo, int argc, char **argv)
|
|||
{
|
||||
int i, j, k, scr_index;
|
||||
const char **modulelist;
|
||||
pointer *optionlist;
|
||||
void **optionlist;
|
||||
Pix24Flags screenpix24, pix24;
|
||||
MessageType pix24From = X_DEFAULT;
|
||||
Bool pix24Fail = FALSE;
|
||||
|
|
@ -1538,10 +1538,10 @@ ddxUseMsg(void)
|
|||
* xf86LoadModules iterates over a list that is being passed in.
|
||||
*/
|
||||
Bool
|
||||
xf86LoadModules(const char **list, pointer *optlist)
|
||||
xf86LoadModules(const char **list, void **optlist)
|
||||
{
|
||||
int errmaj, errmin;
|
||||
pointer opt;
|
||||
void *opt;
|
||||
int i;
|
||||
char *name;
|
||||
Bool failed = FALSE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue