Contextualize XkbFile IDs
authorRan Benita <ran234@gmail.com>
Wed, 9 May 2012 08:29:04 +0000 (11:29 +0300)
committerDaniel Stone <daniel@fooishbar.org>
Wed, 9 May 2012 14:30:49 +0000 (15:30 +0100)
commit4aef083e46568664708f57b5aaa356e858c1f4de
treed0f97a1a416a468d96caa0836a20fbf3a9852d0d
parent64aa5c95ed4507f88aa00d397e793af73dd812f4
Contextualize XkbFile IDs

Currently the IDs are assigned from a static variable inside
CreateXKBFile. This can lead to some unpleasantness with threads, so
maintain the counter in the context instead.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/context.c
src/xkb-priv.h
src/xkbcomp/parser.y
src/xkbcomp/parseutils.c
src/xkbcomp/parseutils.h
src/xkbcomp/xkbcomp.c