summaryrefslogtreecommitdiff
path: root/xkbprint.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-05-26 10:17:12 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-05-26 16:03:48 -0700
commite1b1ecd2e9858dca67ed1da90799f1ea34fc9b71 (patch)
treecca3f78365df09ffe71015fa1893c584d3ee7d74 /xkbprint.c
parent9456437718d78b942333bdf74124c027ba35039f (diff)
unifdef -Unotyet -UNOTYET
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xkbprint.c')
-rw-r--r--xkbprint.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/xkbprint.c b/xkbprint.c
index 4a87ef1..2a48a98 100644
--- a/xkbprint.c
+++ b/xkbprint.c
@@ -59,13 +59,6 @@
#define INPUT_XKB 1
#define INPUT_XKM 2
-#ifdef notyet
-static char *fileTypeExt[] = {
- "XXX",
- "xkm",
- "xkb"
-};
-#endif
static unsigned outputFormat = WANT_DEFAULT;
static char * wantLocale = "C";
@@ -77,9 +70,6 @@ static char * inDpyName;
static char * outDpyName;
static Display * inDpy;
static Display * outDpy;
-#ifdef NOTYET
-static Bool computeDflts = False;
-#endif
static XKBPrintArgs args;
static unsigned warningLevel = 5;
static Bool synch;
@@ -194,9 +184,6 @@ parseArgs(int argc, char *argv[])
}
#endif
else if (strcmp(argv[i], "-dflts") == 0) {
-#ifdef NOTYET
- computeDflts = True;
-#endif
uWarning("Compute defaults not implemented yet\n");
}
else if (strcmp(argv[i], "-diffs") == 0) {
@@ -225,15 +212,6 @@ parseArgs(int argc, char *argv[])
else
args.grid = tmp;
}
-#ifdef NOTYET
- else if (strncmp(argv[i], "-I", 2) == 0) {
- if (!XkbAddDirectoryToPath(&argv[i][2])) {
- uAction("Exiting\n");
- exit(1);
- }
- uInternalError("Includes not implemented yet\n");
- }
-#endif
else if (strcmp(argv[i], "-if") == 0) {
if (++i >= argc) {
uWarning("Internal Font name not specified\n");
@@ -636,11 +614,6 @@ GetDisplay(char *program, char *dpyName)
/***====================================================================***/
-#ifdef notyet
-#define MAX_INCLUDE_OPTS 10
-static char *includeOpt[MAX_INCLUDE_OPTS];
-static int numIncludeOpts = 0;
-#endif
int
main(int argc, char *argv[])
@@ -751,12 +724,6 @@ main(int argc, char *argv[])
if (XkbGetGeometry(inDpy, result.xkb) != Success) {
uFatalError("Cannot load geometry for %s\n", inDpyName);
}
-#ifdef NOTYET
- if (computeDflts)
- ok = (ComputeKbdDefaults(result.xkb) == Success);
- else
- ok = True;
-#endif
if (args.label == LABEL_AUTO)
args.label = LABEL_SYMBOLS;
}