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:
Enrico Weigelt, metux IT consult 2024-04-05 15:17:28 +02:00 committed by Marge Bot
parent 08113b8923
commit 8a2590e5d3
2 changed files with 1 additions and 7 deletions

View File

@ -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

View File

@ -43,7 +43,7 @@
#include "xkbsrv.h"
#include "xkbgeom.h"
Atom
static Atom
XkbInternAtom(char *str, Bool only_if_exists)
{
if (str == NULL)