ref: b3dece5f332316ea0948a3b1ca4ec650515734f8
parent: 805e0f0f596e4f8ce1195cd7c5aac77fcde761c2
author: Robin Watts <robin.watts@artifex.com>
date: Wed Sep 14 12:04:36 EDT 2016
Make some static functions static inline. These are only called from 1 place, so won't hurt the code size. This is purely to facilitate operation with the destatic.sh/restatic.sh scripts.
--- a/jsdtoa.c
+++ b/jsdtoa.c
@@ -332,7 +332,7 @@
errno = oerrno;
}
-static ulong
+static inline ulong
umuldiv(ulong a, ulong b, ulong c)
{
double d;
@@ -696,7 +696,7 @@
}
}
-static void
+static inline void
divby(char *a, int *na, int b)
{
int n, c;
@@ -771,7 +771,7 @@
divby(a, na, b);
}
-static void
+static inline void
mulby(char *a, char *p, char *q, int b)
{
int n, c;