Move utils.{c,h} to be used by the entire project
This is a first step for making consistent use of utils.h also outside of xkbcomp/ . Signed-off-by: Ran Benita <ran234@gmail.com>master
parent
7cc17ec507
commit
d22b8dbbd0
|
@ -17,6 +17,8 @@ libxkbcommon_la_SOURCES = \
|
|||
misc.c \
|
||||
state.c \
|
||||
text.c \
|
||||
utils.c \
|
||||
utils.h \
|
||||
xkb.c \
|
||||
xkballoc.h \
|
||||
xkbmisc.h \
|
||||
|
|
|
@ -23,8 +23,6 @@ libxkbcomp_la_SOURCES = \
|
|||
parseutils.c \
|
||||
parseutils.h \
|
||||
symbols.c \
|
||||
utils.c \
|
||||
utils.h \
|
||||
vmod.c \
|
||||
vmod.h \
|
||||
xkbcomp.c \
|
||||
|
|
|
@ -31,7 +31,7 @@ authorization from the authors.
|
|||
#include <X11/X.h>
|
||||
#include <X11/Xdefs.h>
|
||||
#include "xkbcommon/xkbcommon.h"
|
||||
#include "xkbcomp/utils.h"
|
||||
#include "utils.h"
|
||||
|
||||
static char buffer[8192];
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ authorization from the authors.
|
|||
#include <X11/X.h>
|
||||
#include <X11/Xdefs.h>
|
||||
#include "xkbcommon/xkbcommon.h"
|
||||
#include "xkbcomp/utils.h"
|
||||
#include "utils.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@ authorization from the authors.
|
|||
#include <X11/X.h>
|
||||
#include <X11/Xdefs.h>
|
||||
#include "xkbcommon/xkbcommon.h"
|
||||
#include "xkbcomp/utils.h"
|
||||
#include "utils.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include <X11/keysym.h>
|
||||
#include <linux/input.h>
|
||||
#include "xkbcommon/xkbcommon.h"
|
||||
#include "xkbcomp/utils.h"
|
||||
#include "utils.h"
|
||||
#include "XKBcommonint.h"
|
||||
|
||||
/* Offset between evdev keycodes (where KEY_ESCAPE is 1), and the evdev XKB
|
||||
|
|
Loading…
Reference in New Issue