xkb: make XkbInternAtom() static
It's only used in the same .c file, so make it static. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1506>
This commit is contained in:
parent
08113b8923
commit
8a2590e5d3
|
@ -178,12 +178,6 @@ extern _X_EXPORT int XkbFindKeycodeByName(XkbDescPtr /* xkb */ ,
|
|||
|
||||
/***====================================================================***/
|
||||
|
||||
extern _X_EXPORT Atom XkbInternAtom(char * /* name */ ,
|
||||
Bool /* onlyIfExists */
|
||||
);
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
#ifdef _XKBGEOM_H_
|
||||
|
||||
#define XkbDW_Unknown 0
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
#include "xkbsrv.h"
|
||||
#include "xkbgeom.h"
|
||||
|
||||
Atom
|
||||
static Atom
|
||||
XkbInternAtom(char *str, Bool only_if_exists)
|
||||
{
|
||||
if (str == NULL)
|
||||
|
|
Loading…
Reference in New Issue