summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-03-05 15:36:13 -0300
committerAlan Coopersmith <alan.coopersmith@sun.com>2008-04-24 19:44:40 -0700
commit85dfcde3b46083a1d71c8520afa611e04d8754c1 (patch)
treed81166f373330e2ffeed70b0fca938266c5d6df2
parentde0d57f639b6a265e99da2891650850e326f584f (diff)
libXevie ansification.
XevieSendEvents dataType argument had prototype type int in Xevie.h, but definition type of char. This has been updated to type int in the "ansified" version, in Xevie.c. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-rw-r--r--src/Xevie.c31
1 files changed, 17 insertions, 14 deletions
diff --git a/src/Xevie.c b/src/Xevie.c
index 6a7c9c9..5f7f150 100644
--- a/src/Xevie.c
+++ b/src/Xevie.c
@@ -53,7 +53,11 @@ static long xevie_mask = 0;
* *
*****************************************************************************/
-static int close_display();
+static int close_display(
+ Display * /* dpy */,
+ XExtCodes * /* codes */
+);
+
static /* const */ XExtensionHooks xevie_extension_hooks = {
NULL, /* create_gc */
NULL, /* copy_gc */
@@ -82,10 +86,10 @@ static XEXT_GENERATE_CLOSE_DISPLAY (close_display, xevie_info)
*****************************************************************************/
Status
-XevieQueryVersion(dpy, major_version_return, minor_version_return)
- Display* dpy;
- int* major_version_return;
- int* minor_version_return;
+XevieQueryVersion(
+ Display *dpy,
+ int *major_version_return,
+ int *minor_version_return)
{
XExtDisplayInfo *info = find_display (dpy);
xXevieQueryVersionReply rep;
@@ -135,8 +139,7 @@ XevieStart(
}
Status
-XevieEnd(dpy)
- Display* dpy;
+XevieEnd(Display *dpy)
{
XExtDisplayInfo *info = find_display (dpy);
xXevieEndReply rep;
@@ -157,10 +160,10 @@ XevieEnd(dpy)
}
Status
-XevieSendEvent(dpy, event, dataType)
- Display* dpy;
- XEvent* event;
- char dataType;
+XevieSendEvent(
+ Display *dpy,
+ XEvent *event,
+ int dataType)
{
xXevieSendReply rep;
xXevieSendReq *req;
@@ -179,9 +182,9 @@ XevieSendEvent(dpy, event, dataType)
}
Status
-XevieSelectInput(dpy, event_mask)
- Display* dpy;
- long event_mask;
+XevieSelectInput(
+ Display *dpy,
+ long event_mask)
{
xXevieSelectInputReply rep;
xXevieSelectInputReq *req;