mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-22 20:35:43 +00:00
Remove nasty function pointer type from DevUnion, return to documented type.
This commit is contained in:
parent
f452507ca9
commit
2534f5a902
2 changed files with 16 additions and 25 deletions
|
|
@ -50,7 +50,6 @@ SOFTWARE.
|
|||
|
||||
#include "misc.h"
|
||||
#include <X11/Xprotostr.h>
|
||||
#include "gc.h"
|
||||
|
||||
typedef xPoint DDXPointRec;
|
||||
|
||||
|
|
@ -62,17 +61,7 @@ typedef union _DevUnion {
|
|||
pointer ptr;
|
||||
long val;
|
||||
unsigned long uval;
|
||||
RegionPtr (*fptr)(
|
||||
DrawablePtr /* pSrcDrawable */,
|
||||
DrawablePtr /* pDstDrawable */,
|
||||
GCPtr /* pGC */,
|
||||
int /* srcx */,
|
||||
int /* srcy */,
|
||||
int /* width */,
|
||||
int /* height */,
|
||||
int /* dstx */,
|
||||
int /* dsty */,
|
||||
unsigned long /* bitPlane */);
|
||||
pointer (*fptr)(void);
|
||||
} DevUnion;
|
||||
|
||||
#endif /* MISCSTRUCT_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue