put function prototype for ShapeExtensionInit() in proper place

based on FIXME in mi/miinitext.c
This commit is contained in:
Greg Kroah-Hartman 2006-06-09 09:51:28 -07:00
parent 576e6fb112
commit 96c19a3ec1
4 changed files with 3 additions and 5 deletions

View File

@ -146,7 +146,7 @@ typedef struct _ShapeEvent {
****************/ ****************/
void void
ShapeExtensionInit(INITARGS) ShapeExtensionInit(void)
{ {
ExtensionEntry *extEntry; ExtensionEntry *extEntry;

View File

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

View File

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

View File

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