summaryrefslogtreecommitdiff
path: root/src/context.c
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2013-03-04 14:16:36 +0200
committerDaniel Stone <daniel@fooishbar.org>2013-03-18 22:20:05 +0000
commit56ba986613cb0e220f4b08b1d99f8eed05aead56 (patch)
tree37c4681d80ce2cde4bad05c45d6188533bb73309 /src/context.c
parent64c002627d4a60cf8de6841cffb699e987a9f9ba (diff)
downloadxorg-lib-libxkbcommon-56ba986613cb0e220f4b08b1d99f8eed05aead56.tar.gz
Remove file_id entirely
It is not used anymore. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/context.c')
-rw-r--r--src/context.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/context.c b/src/context.c
index ded10b2..2dd8ea9 100644
--- a/src/context.c
+++ b/src/context.c
@@ -47,9 +47,6 @@ struct xkb_context {
darray(char *) includes;
darray(char *) failed_includes;
- /* xkbcomp needs to assign sequential IDs to XkbFile's it creates. */
- unsigned file_id;
-
struct atom_table *atom_table;
/* Buffer for the *Text() functions. */
@@ -183,12 +180,6 @@ xkb_context_failed_include_path_get(struct xkb_context *ctx,
return darray_item(ctx->failed_includes, idx);
}
-unsigned
-xkb_context_take_file_id(struct xkb_context *ctx)
-{
- return ctx->file_id++;
-}
-
/**
* Take a new reference on the context.
*/