mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 07:00:03 +01:00
Revert "xkb: make XkbRF_Create() static inline"
This reverts commit 60d37d0158.
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2046>
This commit is contained in:
parent
03b1d94dc3
commit
950462f6e6
2 changed files with 11 additions and 5 deletions
|
|
@ -970,6 +970,16 @@ XkbRF_LoadRules(FILE * file, XkbRF_RulesPtr rules)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***====================================================================***/
|
||||||
|
|
||||||
|
XkbRF_RulesPtr
|
||||||
|
XkbRF_Create(void)
|
||||||
|
{
|
||||||
|
return calloc(1, sizeof(XkbRF_RulesRec));
|
||||||
|
}
|
||||||
|
|
||||||
|
/***====================================================================***/
|
||||||
|
|
||||||
void
|
void
|
||||||
XkbRF_Free(XkbRF_RulesPtr rules, Bool freeRules)
|
XkbRF_Free(XkbRF_RulesPtr rules, Bool freeRules)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@
|
||||||
#define _XSERVER_XKB_XKBRULES_PRIV_H
|
#define _XSERVER_XKB_XKBRULES_PRIV_H
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <X11/Xdefs.h>
|
#include <X11/Xdefs.h>
|
||||||
|
|
||||||
#include "include/xkbrules.h"
|
#include "include/xkbrules.h"
|
||||||
|
|
@ -51,10 +50,7 @@ Bool XkbRF_GetComponents(XkbRF_RulesPtr rules,
|
||||||
|
|
||||||
Bool XkbRF_LoadRules(FILE *file, XkbRF_RulesPtr rules);
|
Bool XkbRF_LoadRules(FILE *file, XkbRF_RulesPtr rules);
|
||||||
|
|
||||||
static inline XkbRF_RulesPtr XkbRF_Create(void)
|
XkbRF_RulesPtr XkbRF_Create(void);
|
||||||
{
|
|
||||||
return calloc(1, sizeof(XkbRF_RulesRec));
|
|
||||||
}
|
|
||||||
|
|
||||||
void XkbRF_Free(XkbRF_RulesPtr rules, Bool freeRules);
|
void XkbRF_Free(XkbRF_RulesPtr rules, Bool freeRules);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue