aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Atoms.c5
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Atoms.h2
2 files changed, 2 insertions, 5 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
index e65ddaac3..1c48df61c 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
@@ -177,7 +177,7 @@ void nxagentWMDetect()
finishWMDetection(verbose);
}
-int nxagentInitAtoms()
+void nxagentInitAtoms()
{
/*
* Value of nxagentAtoms[8] is "NX_AGENT_SIGNATURE".
@@ -195,8 +195,6 @@ int nxagentInitAtoms()
fprintf(stderr, "%s: PANIC! Could not create [%s] atom.\n", __func__,
nxagentAtomNames[8]);
#endif
-
- return -1;
}
else
{
@@ -204,7 +202,6 @@ int nxagentInitAtoms()
fprintf(stderr, "nxagentInitAtoms: atom [%s] created with value [%d].\n",
nxagentAtomNames[8], atom);
#endif
- return 1;
}
}
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Atoms.h b/nx-X11/programs/Xserver/hw/nxagent/Atoms.h
index 2e11c7c69..08eb1cfff 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Atoms.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Atoms.h
@@ -41,7 +41,7 @@ extern Bool nxagentWMIsRunning;
* to the agent server.
*/
-int nxagentInitAtoms();
+void nxagentInitAtoms();
/*
* Query and create all the required atoms