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
ShapeExtensionInit(INITARGS)
ShapeExtensionInit(void)
{
ExtensionEntry *extEntry;

View File

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

View File

@ -256,6 +256,8 @@ void ResizeChildrenWinSize(
int /*dw*/,
int /*dh*/);
extern void ShapeExtensionInit(void);
extern void SendShapeNotify(
WindowPtr /* pWin */,
int /* which */ );

View File

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