Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
a70ec920
You need to sign in or sign up before continuing.
Commit
a70ec920
authored
Dec 03, 2018
by
Ulrich Sibiller
Committed by
Mike Gabriel
Dec 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Keyboard.c: add static keyword where appropriate
parent
d5c9733b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Keyboard.c
nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
+5
-5
No files found.
nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
View file @
a70ec920
...
...
@@ -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'
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment