Mercurial > hg > octave-nkf > gnulib-hg
changeset 1398:d6574e0cef54
protoize
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Mon, 29 Jun 1998 20:29:28 +0000 |
parents | d6d9e262203a |
children | edb0581923b9 |
files | lib/xstrtol.c |
diffstat | 1 files changed, 2 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/xstrtol.c +++ b/lib/xstrtol.c @@ -71,9 +71,7 @@ __unsigned long int __strtol (); static int -bkm_scale (x, scale_factor) - __unsigned long int *x; - int scale_factor; +bkm_scale (__unsigned long int *x, int scale_factor) { __unsigned long int product = *x * scale_factor; if (*x != product / scale_factor) @@ -83,10 +81,7 @@ } static int -bkm_scale_by_power (x, base, power) - __unsigned long int *x; - int base; - int power; +bkm_scale_by_power (__unsigned long int *x, int base, int power) { while (power--) if (bkm_scale (x, base))