diff options
-rw-r--r-- | expr.c | 4 | ||||
-rw-r--r-- | misc.c | 6 | ||||
-rw-r--r-- | parseutils.c | 2 |
3 files changed, 12 insertions, 0 deletions
@@ -208,6 +208,7 @@ RadioLookup(XPointer priv, return True; } +#if 0 static int TableLookup(XPointer priv, Atom elem, Atom field, unsigned type, ExprResult * val_rtrn) @@ -233,6 +234,7 @@ TableLookup(XPointer priv, priv = (XPointer) tbl->entries; return SimpleLookup(priv, (Atom) None, field, type, val_rtrn); } +#endif static LookupEntry modIndexNames[] = { {"shift", ShiftMapIndex}, @@ -285,6 +287,7 @@ LookupModMask(XPointer priv, return True; } +#if 0 int ExprResolveModIndex(ExprDef * expr, ExprResult * val_rtrn, @@ -361,6 +364,7 @@ ExprResolveModIndex(ExprDef * expr, } return ok; } +#endif int ExprResolveModMask(ExprDef * expr, @@ -177,6 +177,7 @@ ReportBadType(const char *type, const char *field, return False; } +#if 0 int ReportBadIndexType(char *type, char *field, char *name, char *wanted) { @@ -184,6 +185,7 @@ ReportBadIndexType(char *type, char *field, char *name, char *wanted) ACTION("Ignoring assignment to illegal field in %s\n", name); return False; } +#endif int ReportBadField(const char *type, const char *field, const char *name) @@ -193,6 +195,7 @@ ReportBadField(const char *type, const char *field, const char *name) return False; } +#if 0 int ReportMultipleDefs(char *type, char *field, char *name) { @@ -200,6 +203,7 @@ ReportMultipleDefs(char *type, char *field, char *name) ACTION("Using last definition\n"); return False; } +#endif /***====================================================================***/ @@ -228,6 +232,7 @@ UseNewField(unsigned field, return useNew; } +#if 0 static Bool MergeNewField(unsigned field, CommonInfo * oldDefs, CommonInfo * newDefs, unsigned *pCollide) @@ -244,6 +249,7 @@ MergeNewField(unsigned field, } return False; } +#endif XPointer ClearCommonInfo(CommonInfo * cmn) diff --git a/parseutils.c b/parseutils.c index 3ae7de0..fc0838b 100644 --- a/parseutils.c +++ b/parseutils.c @@ -519,6 +519,7 @@ KeyDeclCreate(char *name, ExprDef * expr) return key; } +#if 0 KeyDef * KeyDeclMerge(KeyDef * into, KeyDef * from) { @@ -528,6 +529,7 @@ KeyDeclMerge(KeyDef * into, KeyDef * from) free(from); return into; } +#endif RowDef * RowDeclCreate(KeyDef * keys) |