Remove nasty function pointer type from DevUnion, return to documented type.

This commit is contained in:
Eamon Walsh 2007-02-16 15:33:48 -05:00 committed by Eamon Walsh
commit 2534f5a902
2 changed files with 16 additions and 25 deletions

View file

@ -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 */