From: Jim Meyering Date: Mon, 29 Jun 1998 20:29:28 +0000 (+0000) Subject: protoize X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42b5becc924026e55af425c98355b4c17e5091bc;p=pspp protoize --- diff --git a/lib/xstrtol.c b/lib/xstrtol.c index 6c11f7f841..621f67370c 100644 --- a/lib/xstrtol.c +++ b/lib/xstrtol.c @@ -71,9 +71,7 @@ extern int errno; __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 @@ bkm_scale (x, scale_factor) } 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))