Commit a70ec920 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Keyboard.c: add static keyword where appropriate

parent d5c9733b
...@@ -78,11 +78,11 @@ is" without express or implied warranty. ...@@ -78,11 +78,11 @@ is" without express or implied warranty.
#include <errno.h> #include <errno.h>
void nxagentXkbGetNames(void); static void nxagentXkbGetNames(void);
void nxagentKeycodeConversionSetup(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 */ #endif /* XKB */
...@@ -1545,7 +1545,7 @@ void nxagentXkbClearNames(void) ...@@ -1545,7 +1545,7 @@ void nxagentXkbClearNames(void)
free(nxagentRemoteOptions); nxagentRemoteOptions = NULL; free(nxagentRemoteOptions); nxagentRemoteOptions = NULL;
} }
void nxagentXkbGetNames(void) static void nxagentXkbGetNames(void)
{ {
Atom atom; Atom atom;
#ifdef _XSERVER64 #ifdef _XSERVER64
...@@ -1627,7 +1627,7 @@ void nxagentXkbGetNames(void) ...@@ -1627,7 +1627,7 @@ void nxagentXkbGetNames(void)
return; 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: 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 ...@@ -1645,7 +1645,7 @@ void writeKeyboardfileData(FILE *out, char *rules, char *model, char *layout, ch
fprintf(out, "options=\",%s\"\n", options ? options : ""); 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') if (rules && rules[0] != '\0')
{ {
......
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