diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-09-01 15:25:48 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-09-29 17:10:05 +0200 |
commit | 82c096ee2b1dd5c6b6ebe1a7955d89b516ab9c0e (patch) | |
tree | abd854dfc159a52739beea2599695fa1906c0ec0 /nx-X11 | |
parent | 39866f5c133230e5731156c2356c8571c971534c (diff) | |
download | nx-libs-82c096ee2b1dd5c6b6ebe1a7955d89b516ab9c0e.tar.gz nx-libs-82c096ee2b1dd5c6b6ebe1a7955d89b516ab9c0e.tar.bz2 nx-libs-82c096ee2b1dd5c6b6ebe1a7955d89b516ab9c0e.zip |
Atoms.[ch]: drop unused return code of nxagentInitAtoms()
Diffstat (limited to 'nx-X11')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Atoms.c | 5 | ||||
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Atoms.h | 2 |
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 |