mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 16:44:52 +00:00
put function prototype for ShapeExtensionInit() in proper place
based on FIXME in mi/miinitext.c
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user