rulescomp: Remove unneeded API
parent
5d95a43ad0
commit
95dbbb8a7b
|
@ -29,11 +29,9 @@ authorization from the authors.
|
||||||
#include "X11/extensions/XKBcommon.h"
|
#include "X11/extensions/XKBcommon.h"
|
||||||
#include <X11/extensions/XKBstrcommon.h>
|
#include <X11/extensions/XKBstrcommon.h>
|
||||||
#include "../src/xkbcomp/utils.h"
|
#include "../src/xkbcomp/utils.h"
|
||||||
#include "../src/xkbcomp/xkbpath.h"
|
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
int i;
|
|
||||||
char *rules = NULL;
|
char *rules = NULL;
|
||||||
XkbRF_VarDefsRec defs;
|
XkbRF_VarDefsRec defs;
|
||||||
XkbcDescPtr xkb;
|
XkbcDescPtr xkb;
|
||||||
|
@ -53,8 +51,6 @@ int main(int argc, char *argv[])
|
||||||
defs.options = argv[5];
|
defs.options = argv[5];
|
||||||
|
|
||||||
uSetErrorFile(NULL);
|
uSetErrorFile(NULL);
|
||||||
XkbInitIncludePath();
|
|
||||||
XkbAddDefaultDirectoriesToPath();
|
|
||||||
XkbcInitAtoms();
|
XkbcInitAtoms();
|
||||||
|
|
||||||
xkb = XkbcCompileKeymapFromRules(rules, &defs);
|
xkb = XkbcCompileKeymapFromRules(rules, &defs);
|
||||||
|
|
Loading…
Reference in New Issue