summaryrefslogtreecommitdiff
path: root/src/xkbcomp/rules.h
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-08-13 11:00:43 +0300
committerRan Benita <ran234@gmail.com>2012-09-01 10:58:10 +0300
commitcdc228eaf6e55e0dfc524fe62cd1021f2467e3bf (patch)
tree98ced0725cb0d98157f14690680d8565ff897faf /src/xkbcomp/rules.h
parent3634b1565e00f72fcbde655363b85f8f060d91b5 (diff)
Organize xkbcomp/ header files
Various non-functional changes: - Re-add keycodes.h and move some stuff there. - Add parser-priv.h for internal bison/flex stuff. - Don't include headers from other headers, such that file dependencies are immediate in each file. - Rename xkbcomp.h -> ast.h, parseutils.{c,h} -> ast-build.{c,h} - Rename path.{c,h} -> include.{c,h} - Rename keytypes.c -> types.c - Make the naming of XkbFile-related functions more consistent. - Move xkb_map_{new,ref,unref} to map.c. - Remove most extern keyword from function declarations, it's just noise (XKB_EXPORT is what's important here). - Append XKBCOMP_ to include guards. - Shuffle some code around to make all of this work. Splitting this would be a headache.. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/xkbcomp/rules.h')
-rw-r--r--src/xkbcomp/rules.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/xkbcomp/rules.h b/src/xkbcomp/rules.h
index 0567a7b..9e73c3e 100644
--- a/src/xkbcomp/rules.h
+++ b/src/xkbcomp/rules.h
@@ -24,14 +24,12 @@
* authorization from the authors.
*/
-#ifndef RULES_H
-#define RULES_H
-
-#include "xkbcomp-priv.h"
+#ifndef XKBCOMP_RULES_H
+#define XKBCOMP_RULES_H
bool
xkb_components_from_rules(struct xkb_context *ctx,
const struct xkb_rule_names *rmlvo,
struct xkb_component_names *out);
-#endif /* RULES_H */
+#endif