xfree86: xf86Option: drop unused xf86GetOptValReal()
Not used anywhere, so no need to keep it around any longer. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
b2425861a2
commit
228cdd3bfe
|
@ -128,8 +128,6 @@ extern _X_EXPORT Bool xf86GetOptValInteger(const OptionInfoRec * table,
|
||||||
int token, int *value);
|
int token, int *value);
|
||||||
extern _X_EXPORT Bool xf86GetOptValULong(const OptionInfoRec * table, int token,
|
extern _X_EXPORT Bool xf86GetOptValULong(const OptionInfoRec * table, int token,
|
||||||
unsigned long *value);
|
unsigned long *value);
|
||||||
extern _X_EXPORT Bool xf86GetOptValReal(const OptionInfoRec * table, int token,
|
|
||||||
double *value);
|
|
||||||
extern _X_EXPORT Bool xf86GetOptValFreq(const OptionInfoRec * table, int token,
|
extern _X_EXPORT Bool xf86GetOptValFreq(const OptionInfoRec * table, int token,
|
||||||
OptFreqUnits expectedUnits,
|
OptFreqUnits expectedUnits,
|
||||||
double *value);
|
double *value);
|
||||||
|
|
|
@ -787,20 +787,6 @@ xf86GetOptValULong(const OptionInfoRec * table, int token, unsigned long *value)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
Bool
|
|
||||||
xf86GetOptValReal(const OptionInfoRec * table, int token, double *value)
|
|
||||||
{
|
|
||||||
OptionInfoPtr p;
|
|
||||||
|
|
||||||
p = xf86TokenToOptinfo(table, token);
|
|
||||||
if (p && p->found) {
|
|
||||||
*value = p->value.realnum;
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
Bool
|
Bool
|
||||||
xf86GetOptValFreq(const OptionInfoRec * table, int token,
|
xf86GetOptValFreq(const OptionInfoRec * table, int token,
|
||||||
OptFreqUnits expectedUnits, double *value)
|
OptFreqUnits expectedUnits, double *value)
|
||||||
|
|
Loading…
Reference in New Issue