diff options
author | Adam Jackson <ajax@benzedrine.nwnk.net> | 2007-03-18 16:31:19 -0400 |
---|---|---|
committer | Adam Jackson <ajax@benzedrine.nwnk.net> | 2007-03-20 18:37:02 -0400 |
commit | 021fc5cb2cb4a7972b4a6fcb570c1da92787d68d (patch) | |
tree | 58063be57aef43d15f51822264d4a7a789ee7c77 /xkb/xkmread.c | |
parent | 9398d62f27ee1b287e4458fd8b011c10f7b59efd (diff) |
Static markup and dead code cull over xkb/.
The former <X11/extensions/XKBsrv.h> has been pulled into the server now as
include/xkbsrv.h, and the world updated to look for it in the new place,
since it made no sense to define server API in an extension header. Any
further work along this line will need to do similar things with XKBgeom.h
and friends.
Diffstat (limited to 'xkb/xkmread.c')
-rw-r--r-- | xkb/xkmread.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/xkb/xkmread.c b/xkb/xkmread.c index fec86874f..c6c18422d 100644 --- a/xkb/xkmread.c +++ b/xkb/xkmread.c @@ -41,7 +41,7 @@ #include "inputstr.h" #include <X11/extensions/XKBstr.h> #define XKBSRV_NEED_FILE_FUNCS -#include <X11/extensions/XKBsrv.h> +#include <xkbsrv.h> #include <X11/extensions/XKBgeom.h> Atom @@ -1098,18 +1098,6 @@ unsigned i,size_toc; return 1; } -xkmSectionInfo * -XkmFindTOCEntry(xkmFileInfo *finfo,xkmSectionInfo *toc,unsigned type) -{ -register int i; - - for (i=0;i<finfo->num_toc;i++) { - if (toc[i].type==type) - return &toc[i]; - } - return NULL; -} - Bool XkmReadFileSection( FILE * file, xkmSectionInfo * toc, |