aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2018-12-03 23:35:56 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-12-19 12:32:03 +0100
commita70ec920dd33a04b74af876444602c587fe9ec80 (patch)
treeb52b16887a35591263b19d8d0f0dc4d11b11ec03 /nx-X11/programs
parentd5c9733b24a55acb812a4cb11f39551c766c17d7 (diff)
downloadnx-libs-a70ec920dd33a04b74af876444602c587fe9ec80.tar.gz
nx-libs-a70ec920dd33a04b74af876444602c587fe9ec80.tar.bz2
nx-libs-a70ec920dd33a04b74af876444602c587fe9ec80.zip
Keyboard.c: add static keyword where appropriate
Diffstat (limited to 'nx-X11/programs')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Keyboard.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
index 5c35d7124..cfe73ac5b 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
@@ -78,11 +78,11 @@ is" without express or implied warranty.
#include <errno.h>
-void nxagentXkbGetNames(void);
+static void nxagentXkbGetNames(void);
void nxagentKeycodeConversionSetup(void);
-void nxagentWriteKeyboardFile(char *rules, char *model, char *layout, char *variant, char *options);
+static void nxagentWriteKeyboardFile(char *rules, char *model, char *layout, char *variant, char *options);
#endif /* XKB */
@@ -1545,7 +1545,7 @@ void nxagentXkbClearNames(void)
free(nxagentRemoteOptions); nxagentRemoteOptions = NULL;
}
-void nxagentXkbGetNames(void)
+static void nxagentXkbGetNames(void)
{
Atom atom;
#ifdef _XSERVER64
@@ -1627,7 +1627,7 @@ void nxagentXkbGetNames(void)
return;
}
-void writeKeyboardfileData(FILE *out, char *rules, char *model, char *layout, char *variant, char *options)
+static void writeKeyboardfileData(FILE *out, char *rules, char *model, char *layout, char *variant, char *options)
{
/*
How to set "empty" values with setxkbmap, result of trial and error:
@@ -1645,7 +1645,7 @@ void writeKeyboardfileData(FILE *out, char *rules, char *model, char *layout, ch
fprintf(out, "options=\",%s\"\n", options ? options : "");
}
-void nxagentWriteKeyboardFile(char *rules, char *model, char *layout, char *variant, char *options)
+static void nxagentWriteKeyboardFile(char *rules, char *model, char *layout, char *variant, char *options)
{
if (rules && rules[0] != '\0')
{