put function prototype for ShapeExtensionInit() in proper place
based on FIXME in mi/miinitext.c
This commit is contained in:
parent
576e6fb112
commit
96c19a3ec1
|
@ -146,7 +146,7 @@ typedef struct _ShapeEvent {
|
||||||
****************/
|
****************/
|
||||||
|
|
||||||
void
|
void
|
||||||
ShapeExtensionInit(INITARGS)
|
ShapeExtensionInit(void)
|
||||||
{
|
{
|
||||||
ExtensionEntry *extEntry;
|
ExtensionEntry *extEntry;
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef SHAPE
|
#ifdef SHAPE
|
||||||
extern void ShapeExtensionInit(INITARGS);
|
|
||||||
#define _SHAPE_SERVER_ /* don't want Xlib structures */
|
#define _SHAPE_SERVER_ /* don't want Xlib structures */
|
||||||
#include <X11/extensions/shapestr.h>
|
#include <X11/extensions/shapestr.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -256,6 +256,8 @@ void ResizeChildrenWinSize(
|
||||||
int /*dw*/,
|
int /*dw*/,
|
||||||
int /*dh*/);
|
int /*dh*/);
|
||||||
|
|
||||||
|
extern void ShapeExtensionInit(void);
|
||||||
|
|
||||||
extern void SendShapeNotify(
|
extern void SendShapeNotify(
|
||||||
WindowPtr /* pWin */,
|
WindowPtr /* pWin */,
|
||||||
int /* which */ );
|
int /* which */ );
|
||||||
|
|
|
@ -258,9 +258,6 @@ typedef void (*InitExtension)(INITARGS);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* FIXME: this whole block of externs should be from the appropriate headers */
|
/* FIXME: this whole block of externs should be from the appropriate headers */
|
||||||
#ifdef SHAPE
|
|
||||||
extern void ShapeExtensionInit(INITARGS);
|
|
||||||
#endif
|
|
||||||
#ifdef EVI
|
#ifdef EVI
|
||||||
extern void EVIExtensionInit(INITARGS);
|
extern void EVIExtensionInit(INITARGS);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue