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() ...@@ -177,7 +177,7 @@ void nxagentWMDetect()
finishWMDetection(verbose); finishWMDetection(verbose);
} }
int nxagentInitAtoms() void nxagentInitAtoms()
{ {
/* /*
* Value of nxagentAtoms[8] is "NX_AGENT_SIGNATURE". * Value of nxagentAtoms[8] is "NX_AGENT_SIGNATURE".
...@@ -195,8 +195,6 @@ int nxagentInitAtoms() ...@@ -195,8 +195,6 @@ int nxagentInitAtoms()
fprintf(stderr, "%s: PANIC! Could not create [%s] atom.\n", __func__, fprintf(stderr, "%s: PANIC! Could not create [%s] atom.\n", __func__,
nxagentAtomNames[8]); nxagentAtomNames[8]);
#endif #endif
return -1;
} }
else else
{ {
...@@ -204,7 +202,6 @@ int nxagentInitAtoms() ...@@ -204,7 +202,6 @@ int nxagentInitAtoms()
fprintf(stderr, "nxagentInitAtoms: atom [%s] created with value [%d].\n", fprintf(stderr, "nxagentInitAtoms: atom [%s] created with value [%d].\n",
nxagentAtomNames[8], atom); nxagentAtomNames[8], atom);
#endif #endif
return 1;
} }
} }
......
...@@ -41,7 +41,7 @@ extern Bool nxagentWMIsRunning; ...@@ -41,7 +41,7 @@ extern Bool nxagentWMIsRunning;
* to the agent server. * to the agent server.
*/ */
int nxagentInitAtoms(); void nxagentInitAtoms();
/* /*
* Query and create all the required atoms * 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