float.c: mark read_exponent() static

read_exponent() is not used outside float.c; mark static
This commit is contained in:
H. Peter Anvin 2007-10-19 14:17:51 -07:00
parent 37d88e4125
commit 3514ad0e6c

View file

@ -116,7 +116,7 @@ static int float_multiply(uint16_t * to, uint16_t * from)
* read an exponent; returns INT32_MAX on error * read an exponent; returns INT32_MAX on error
* --------------------------------------------------------------------------- * ---------------------------------------------------------------------------
*/ */
int32_t read_exponent(const char *string, int32_t max) static int32_t read_exponent(const char *string, int32_t max)
{ {
int32_t i = 0; int32_t i = 0;
bool neg = false; bool neg = false;