summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-05-19 18:49:26 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-19 18:49:26 +0930
commitff9c27b08754c160256fe4d75cc4fbe07083f9d4 (patch)
tree8ed2aa744180bafc92409cc1024692849cde488d /src
parente3af1209b9c1fdb032d01e00b300d57278b81189 (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/XScrnSaver.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/XScrnSaver.c b/src/XScrnSaver.c
index 8ccc44b..1e3fe70 100644
--- a/src/XScrnSaver.c
+++ b/src/XScrnSaver.c
@@ -156,14 +156,14 @@ static Status event_to_wire (
Bool XScreenSaverQueryExtension (
Display *dpy,
- int *event_basep,
- int *error_basep)
+ int *event_base_return,
+ int *error_base_return)
{
XExtDisplayInfo *info = find_display (dpy);
if (XextHasExtension(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 {
return False;
@@ -173,8 +173,8 @@ Bool XScreenSaverQueryExtension (
Status XScreenSaverQueryVersion(
Display *dpy,
- int *major_versionp,
- int *minor_versionp)
+ int *major_version_return,
+ int *minor_version_return)
{
XExtDisplayInfo *info = find_display (dpy);
xScreenSaverQueryVersionReply rep;
@@ -193,8 +193,8 @@ Status XScreenSaverQueryVersion(
SyncHandle ();
return 0;
}
- *major_versionp = rep.majorVersion;
- *minor_versionp = rep.minorVersion;
+ *major_version_return = rep.majorVersion;
+ *minor_version_return = rep.minorVersion;
UnlockDisplay (dpy);
SyncHandle ();
return 1;