Revert "include: drop now empty xkbfile.h"

This reverts commit f8fc46cbbf.

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2046>
This commit is contained in:
Alan Coopersmith 2025-07-12 11:47:06 -07:00
parent d8aedc5cfc
commit 8540bda07a
7 changed files with 38 additions and 1 deletions

View file

@ -271,6 +271,7 @@ cat > sdksyms.c << EOF
#include "window.h" #include "window.h"
#include "windowstr.h" #include "windowstr.h"
#include "xace.h" #include "xace.h"
#include "xkbfile.h"
#include "xkbsrv.h" #include "xkbsrv.h"
#include "xkbstr.h" #include "xkbstr.h"
#include "xkbrules.h" #include "xkbrules.h"

View file

@ -499,6 +499,7 @@ if build_xorg
'displaymode.h', 'displaymode.h',
'window.h', 'window.h',
'windowstr.h', 'windowstr.h',
'xkbfile.h',
'xkbsrv.h', 'xkbsrv.h',
'xkbstr.h', 'xkbstr.h',
'xkbrules.h', 'xkbrules.h',

32
include/xkbfile.h Normal file
View file

@ -0,0 +1,32 @@
/************************************************************
Copyright (c) 1994 by Silicon Graphics Computer Systems, Inc.
Permission to use, copy, modify, and distribute this
software and its documentation for any purpose and without
fee is hereby granted, provided that the above copyright
notice appear in all copies and that both that copyright
notice and this permission notice appear in supporting
documentation, and that the name of Silicon Graphics not be
used in advertising or publicity pertaining to distribution
of the software without specific prior written permission.
Silicon Graphics makes no representation about the suitability
of this software for any purpose. It is provided "as is"
without any express or implied warranty.
SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/
#ifndef _XKBFILE_H_
#define _XKBFILE_H_ 1
#include "xkbstr.h"
#endif /* _XKBFILE_H_ */

View file

@ -818,7 +818,7 @@ extern _X_EXPORT Bool XkbDeviceApplyKeymap(DeviceIntPtr /* dst */ ,
extern _X_EXPORT void XkbCopyControls(XkbDescPtr /* dst */ , extern _X_EXPORT void XkbCopyControls(XkbDescPtr /* dst */ ,
XkbDescPtr /* src */ ); XkbDescPtr /* src */ );
#include "xkbstr.h" #include "xkbfile.h"
#include "xkbrules.h" #include "xkbrules.h"
extern _X_EXPORT unsigned int XkbDDXLoadKeymapByNames(DeviceIntPtr /* keybd */ , extern _X_EXPORT unsigned int XkbDDXLoadKeymapByNames(DeviceIntPtr /* keybd */ ,

View file

@ -44,6 +44,7 @@
#include <xkbsrv.h> #include <xkbsrv.h>
#include "../xkb/xkbgeom.h" #include "../xkb/xkbgeom.h"
#include <X11/extensions/XKMformat.h> #include <X11/extensions/XKMformat.h>
#include "xkbfile.h"
#include <assert.h> #include <assert.h>
#include "tests-common.h" #include "tests-common.h"

View file

@ -48,6 +48,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "property.h" #include "property.h"
#include "scrnintstr.h" #include "scrnintstr.h"
#include "xkbgeom.h" #include "xkbgeom.h"
#include "xkbfile.h"
#define CREATE_ATOM(s) MakeAtom(s,sizeof(s)-1,1) #define CREATE_ATOM(s) MakeAtom(s,sizeof(s)-1,1)

View file

@ -46,6 +46,7 @@
#include <xkbsrv.h> #include <xkbsrv.h>
#include "xkbgeom.h" #include "xkbgeom.h"
#include "xkbfile.h"
#define VMOD_HIDE_VALUE 0 #define VMOD_HIDE_VALUE 0
#define VMOD_SHOW_VALUE 1 #define VMOD_SHOW_VALUE 1