Skip to content

Commit db51a20

Browse files
committed
FIX: adding correct decoration around Emit_Decimal function so it is recognized by the make-headers.r script and so avoiding warning during compilation.
1 parent 04c8c28 commit db51a20

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/core/f-math.c

+7-3
Original file line numberDiff line numberDiff line change
@@ -235,12 +235,16 @@
235235
}
236236

237237

238-
238+
/***********************************************************************
239+
**
240+
*/ REBINT Emit_Decimal(REBYTE *cp, REBDEC d, REBFLG trim, REBYTE point, REBINT decimal_digits)
241+
/*
242+
***********************************************************************/
243+
{
239244
#define MIN_DIGITS 1
240245
/* this is appropriate for 64-bit IEEE754 binary floating point format */
241246
#define MAX_DIGITS 17
242-
243-
REBINT Emit_Decimal(REBYTE *cp, REBDEC d, REBFLG trim, REBYTE point, REBINT decimal_digits) {
247+
244248
REBYTE *start = cp, *sig, *rve;
245249
int e, sgn;
246250
REBINT digits_obtained;

0 commit comments

Comments
 (0)