diff options
-rw-r--r-- | man/XTest.xml | 16 | ||||
-rw-r--r-- | src/XTest.c | 15 |
2 files changed, 16 insertions, 15 deletions
diff --git a/man/XTest.xml b/man/XTest.xml index a80ab22..bc61337 100644 --- a/man/XTest.xml +++ b/man/XTest.xml @@ -80,17 +80,17 @@ cc [ flag ... ] file ... -lXtst [ library ... ] <funcprototype> <funcdef><function>Bool</function> XTestQueryExtension</funcdef> <paramdef><parameter>display</parameter></paramdef> -<paramdef><parameter>event_base</parameter></paramdef> -<paramdef><parameter>error_base</parameter></paramdef> -<paramdef><parameter>major_version</parameter></paramdef> -<paramdef><parameter>minor_version</parameter></paramdef> +<paramdef><parameter>event_base_return</parameter></paramdef> +<paramdef><parameter>error_base_return</parameter></paramdef> +<paramdef><parameter>major_version_return</parameter></paramdef> +<paramdef><parameter>minor_version_return</parameter></paramdef> </funcprototype> <funcsynopsisinfo> Display *display; - int *event_base; - int *error_base; - int *major_version; - int *minor_version; + int *event_base_return; + int *error_base_return; + int *major_version_return; + int *minor_version_return; </funcsynopsisinfo> <funcprototype> <funcdef><function>Bool</function> XTestCompareCursorWithWindow</funcdef> diff --git a/src/XTest.c b/src/XTest.c index eccf1fb..82ad52a 100644 --- a/src/XTest.c +++ b/src/XTest.c @@ -97,10 +97,11 @@ static XEXT_GENERATE_CLOSE_DISPLAY (close_display, xtest_info) *****************************************************************************/ Bool -XTestQueryExtension (dpy, event_basep, error_basep, majorp, minorp) +XTestQueryExtension (dpy, event_base_return, error_base_return, + major_return, minor_return) Display *dpy; - int *event_basep, *error_basep; - int *majorp, *minorp; + int *event_base_return, *error_base_return; + int *major_return, *minor_return; { XExtDisplayInfo *info = find_display (dpy); register xXTestGetVersionReq *req; @@ -120,10 +121,10 @@ XTestQueryExtension (dpy, event_basep, error_basep, majorp, minorp) } UnlockDisplay(dpy); SyncHandle(); - *event_basep = info->codes->first_event; - *error_basep = info->codes->first_error; - *majorp = rep.majorVersion; - *minorp = rep.minorVersion; + *event_base_return = info->codes->first_event; + *error_base_return = info->codes->first_error; + *major_return = rep.majorVersion; + *minor_return = rep.minorVersion; return True; } else { return False; |