aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Init.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-08-01 23:18:03 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-09-29 17:10:05 +0200
commitb1850beb9f58f32cb13f585b55a44a4467f2093a (patch)
tree6978f1e17389167ad21fbc2a7405288979afa088 /nx-X11/programs/Xserver/hw/nxagent/Init.c
parent7d2a222f2c6b87c7277b50ed89e522b39a495975 (diff)
downloadnx-libs-b1850beb9f58f32cb13f585b55a44a4467f2093a.tar.gz
nx-libs-b1850beb9f58f32cb13f585b55a44a4467f2093a.tar.bz2
nx-libs-b1850beb9f58f32cb13f585b55a44a4467f2093a.zip
nxagent: avoid nested externs
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Init.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Init.c b/nx-X11/programs/Xserver/hw/nxagent/Init.c
index 2a0bceaf5..0919a695f 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Init.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Init.c
@@ -148,6 +148,8 @@ extern void nxagentSetSelectionCallback(CallbackListPtr *callbacks, void *data,
void *args);
#endif
+extern const char *nxagentProgName;
+
void ddxInitGlobals(void)
{
/*
@@ -199,8 +201,6 @@ Bool nxagentX2go;
void checkX2goAgent(void)
{
- extern const char *nxagentProgName;
-
#ifdef TEST
fprintf(stderr, "%s: nxagentProgName [%s]\n", __func__, nxagentProgName);
#endif