rules: only export a single function
authorRan Benita <ran234@gmail.com>
Sun, 13 May 2012 06:49:08 +0000 (09:49 +0300)
committerRan Benita <ran234@gmail.com>
Sun, 20 May 2012 17:31:48 +0000 (20:31 +0300)
commitb73bd676156fc36fe1859661348511bdd55610d8
tree90ef829edfba09453b5db2aa88e49abf979fad0c
parent0c25ebf341a2a63fc5e9c3ad5bd196e5b575e3d5
rules: only export a single function

Really all we need from this file is a way to get xkb_component_names
from an xkb_rule_names, which is now the only thing being exposed. This
should allow for some much needed refactoring of this code.

Since this is only used by xkbcomp.c and uses xkbcomp functions, also
move rules.{c,h} under the xkbcomp dir.

Signed-off-by: Ran Benita <ran234@gmail.com>
Makefile.am
src/rules.h [deleted file]
src/xkbcomp/rules.c [moved from src/rules.c with 86% similarity]
src/xkbcomp/rules.h [new file with mode: 0644]
src/xkbcomp/xkbcomp.c