aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Init.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-01-25 21:23:55 +0100
committerUlrich Sibiller <uli42@gmx.de>2020-01-25 21:54:33 +0100
commit4821edfe0ecc2296745c4c5fcaa4c08245673c6e (patch)
treecd93f7cdaa242660d2c19ea5514cd3f674aaeb75 /nx-X11/programs/Xserver/hw/nxagent/Init.c
parent2adab29728f9598c3e1bbd89d7e1f11eeab1bcf6 (diff)
downloadnx-libs-4821edfe0ecc2296745c4c5fcaa4c08245673c6e.tar.gz
nx-libs-4821edfe0ecc2296745c4c5fcaa4c08245673c6e.tar.bz2
nx-libs-4821edfe0ecc2296745c4c5fcaa4c08245673c6e.zip
nxagent: rename variables that shadow globals
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Init.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Init.c b/nx-X11/programs/Xserver/hw/nxagent/Init.c
index 3cba1a89d..0b6b36547 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Init.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Init.c
@@ -203,7 +203,7 @@ void checkX2goAgent(void)
/*
* Called at X server's initialization.
*/
-void InitOutput(ScreenInfo *screenInfo, int argc, char *argv[])
+void InitOutput(ScreenInfo *scrInfo, int argc, char *argv[])
{
/*
* Print our pid and version information.
@@ -329,13 +329,13 @@ FIXME: These variables, if not removed at all because have probably
* Initialize the basic screen info.
*/
- nxagentSetScreenInfo(screenInfo);
+ nxagentSetScreenInfo(scrInfo);
/*
* Initialize pixmap formats for this screen.
*/
- nxagentSetPixmapFormats(screenInfo);
+ nxagentSetPixmapFormats(scrInfo);
/*
* Get our own privates' index.
@@ -370,7 +370,7 @@ FIXME: These variables, if not removed at all because have probably
AddScreen(nxagentOpenScreen, argc, argv);
}
- nxagentNumScreens = screenInfo->numScreens;
+ nxagentNumScreens = scrInfo->numScreens;
/*
* Initialize the GCs used by the synchronization put images. We do