summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-10-19 14:17:51 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-10-19 14:17:51 -0700
commit3514ad0e6cc9d73d7fd4604bdd270e8cc78a06d4 (patch)
treeadbb81902ac77d6208900136bd325f12fca4b87e
parent37d88e4125865eef3544f1ee072436fc12dbe6fb (diff)
downloadnasm-3514ad0e6cc9d73d7fd4604bdd270e8cc78a06d4.tar.gz
float.c: mark read_exponent() static
read_exponent() is not used outside float.c; mark static
-rw-r--r--float.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/float.c b/float.c
index 3aa6e5f5..f19454df 100644
--- a/float.c
+++ b/float.c
@@ -116,7 +116,7 @@ static int float_multiply(uint16_t * to, uint16_t * from)
* 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;
bool neg = false;