compat: move some unclear code where it belongs
authorRan Benita <ran234@gmail.com>
Fri, 29 Jun 2012 14:45:47 +0000 (17:45 +0300)
committerRan Benita <ran234@gmail.com>
Sat, 30 Jun 2012 21:51:56 +0000 (00:51 +0300)
commit7111eb8e8a2a7b7d81ea1656e6f1572590da99aa
tree66da730cf1a8b4975a562077022cd8634f9c7963
parent213dcf686f349d668f16d1ec7810045b4b8de191
compat: move some unclear code where it belongs

It seems like at some point it was needed to break the abstraction and
perform this piece of code in the context above CompileCompatMap. The
extra argument and the typedef look strange now, and doesn't seem to be
needed any more, so move them back.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/compat.c
src/xkbcomp/keymap.c
src/xkbcomp/xkbcomp.h