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
Ran Benita 2012-03-23 22:25:47 +02:00 committed by Daniel Stone
parent 7cc17ec507
commit d22b8dbbd0
8 changed files with 6 additions and 6 deletions

View File

@ -17,6 +17,8 @@ libxkbcommon_la_SOURCES = \
misc.c \
state.c \
text.c \
utils.c \
utils.h \
xkb.c \
xkballoc.h \
xkbmisc.h \

View File

@ -23,8 +23,6 @@ libxkbcomp_la_SOURCES = \
parseutils.c \
parseutils.h \
symbols.c \
utils.c \
utils.h \
vmod.c \
vmod.h \
xkbcomp.c \

View File

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

View File

@ -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[])
{

View File

@ -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[])
{

View File

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