diff options
author | biouman <biouman> | 2001-04-30 01:39:32 +0000 |
---|---|---|
committer | biouman <biouman> | 2001-04-30 01:39:32 +0000 |
commit | 9636d6739ebf330ef3fcc41ae838068e600c140b (patch) | |
tree | d7cc62a3ed7ffed7387e5f6485ab3b2a3f4b0e08 /lib/numbers.c | |
parent | 96ce5e4e35c13d86f0154b23eb256c2acbcbd705 (diff) |
*** empty log message ***
Diffstat (limited to 'lib/numbers.c')
-rw-r--r-- | lib/numbers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/numbers.c b/lib/numbers.c index 52af66d..7d0c64a 100644 --- a/lib/numbers.c +++ b/lib/numbers.c @@ -72,10 +72,10 @@ int char_to_number(char *st, int *valid) } -rationnel char_to_rat(char *st, int *valid) /* cette fonction tente de traduire une chaine en flottant */ -{ +rationnel char_to_rat(char *st, int *valid) +{ /* cette fonction tente de traduire une chaine en flottant */ int dotnum = 0, deci = 1, temp = 0; - + while (*st) { if (*st == '.') { dotnum++; |