Commit 82c096ee authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Atoms.[ch]: drop unused return code of nxagentInitAtoms()

parent 39866f5c
......@@ -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;
}
}
......
......@@ -41,7 +41,7 @@ extern Bool nxagentWMIsRunning;
* to the agent server.
*/
int nxagentInitAtoms();
void nxagentInitAtoms();
/*
* Query and create all the required atoms
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment