aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Atoms.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Atoms.c5
1 files changed, 1 insertions, 4 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;
}
}