summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-05-19 17:31:04 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-19 17:31:04 +0930
commit839ef4a38dceec053c3fb33878e59eb26bd8d580 (patch)
tree1d2dbb274565ca3f9b7072a54d5a7e9246cf90d4 /src
parentd7778d80356f9a7f0bc4ffd0f0cf0bfa86928249 (diff)
Rename parameters to clarify QueryVersion/QueryExtension.
These parameters are not treated as input. Rename them to make the inner workings slightly more obvious. X.Org Bug 14511 <http://bugs.freedesktop.org/show_bug.cgi?id=14511>
Diffstat (limited to 'src')
-rw-r--r--src/Xfixes.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/Xfixes.c b/src/Xfixes.c
index cf56b5a..05bfac2 100644
--- a/src/Xfixes.c
+++ b/src/Xfixes.c
@@ -297,14 +297,16 @@ XFixesEventToWire(Display *dpy, XEvent *event, xEvent *wire)
}
Bool
-XFixesQueryExtension (Display *dpy, int *event_basep, int *error_basep)
+XFixesQueryExtension (Display *dpy,
+ int *event_base_return,
+ int *error_base_return)
{
XFixesExtDisplayInfo *info = XFixesFindDisplay (dpy);
if (XFixesHasExtension(info))
{
- *event_basep = info->codes->first_event;
- *error_basep = info->codes->first_error;
+ *event_base_return = info->codes->first_event;
+ *error_base_return = info->codes->first_error;
return True;
}
else
@@ -313,15 +315,15 @@ XFixesQueryExtension (Display *dpy, int *event_basep, int *error_basep)
Status
XFixesQueryVersion (Display *dpy,
- int *major_versionp,
- int *minor_versionp)
+ int *major_version_return,
+ int *minor_version_return)
{
XFixesExtDisplayInfo *info = XFixesFindDisplay (dpy);
XFixesCheckExtension (dpy, info, 0);
- *major_versionp = info->major_version;
- *minor_versionp = info->minor_version;
+ *major_version_return = info->major_version;
+ *minor_version_return = info->minor_version;
return 1;
}