Skip to content

Commit f53e4f0

Browse files
committed
Made bc_count_digits() an inline function
1 parent e720877 commit f53e4f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/bcmath/libbcmath/src/str2num.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#include <stddef.h>
3838

3939
/* Convert strings to bc numbers. Base 10 only.*/
40-
static const char *bc_count_digits(const char *str, const char *end)
40+
static inline const char *bc_count_digits(const char *str, const char *end)
4141
{
4242
/* Process in bulk */
4343
#ifdef HAVE_BC_SIMD_128

0 commit comments

Comments
 (0)