summaryrefslogtreecommitdiff
path: root/include/decimal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/decimal.h')
-rw-r--r--include/decimal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/decimal.h b/include/decimal.h
index 7b49841ca88..2648e04c1cf 100644
--- a/include/decimal.h
+++ b/include/decimal.h
@@ -39,7 +39,7 @@ int decimal2longlong(decimal_t *from, longlong *to);
int longlong2decimal(longlong from, decimal_t *to);
int decimal2double(decimal_t *from, double *to);
int double2decimal(double from, decimal_t *to);
-void decimal_optimize_fraction(decimal_t *from);
+int decimal_actual_fraction(decimal_t *from);
int decimal2bin(decimal_t *from, char *to, int precision, int scale);
int bin2decimal(char *from, decimal_t *to, int precision, int scale);