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
|
||||
ShapeExtensionInit(INITARGS)
|
||||
ShapeExtensionInit(void)
|
||||
{
|
||||
ExtensionEntry *extEntry;
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#endif
|
||||
|
||||
#ifdef SHAPE
|
||||
extern void ShapeExtensionInit(INITARGS);
|
||||
#define _SHAPE_SERVER_ /* don't want Xlib structures */
|
||||
#include <X11/extensions/shapestr.h>
|
||||
#endif
|
||||
|
|
|
@ -256,6 +256,8 @@ void ResizeChildrenWinSize(
|
|||
int /*dw*/,
|
||||
int /*dh*/);
|
||||
|
||||
extern void ShapeExtensionInit(void);
|
||||
|
||||
extern void SendShapeNotify(
|
||||
WindowPtr /* pWin */,
|
||||
int /* which */ );
|
||||
|
|
|
@ -258,9 +258,6 @@ typedef void (*InitExtension)(INITARGS);
|
|||
#endif
|
||||
|
||||
/* FIXME: this whole block of externs should be from the appropriate headers */
|
||||
#ifdef SHAPE
|
||||
extern void ShapeExtensionInit(INITARGS);
|
||||
#endif
|
||||
#ifdef EVI
|
||||
extern void EVIExtensionInit(INITARGS);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue