summaryrefslogtreecommitdiff
path: root/lib/xstrtol.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-06-29 20:29:28 +0000
committerJim Meyering <jim@meyering.net>1998-06-29 20:29:28 +0000
commit1d2074e02aea5282194382ad52e7d9f7f6d7398f (patch)
tree4aec02c9019e38d3a194a757fc055b9ba463f9ec /lib/xstrtol.c
parent8dce8df49ac9dfcec1187109495e12ff6894a772 (diff)
downloadcoreutils-1d2074e02aea5282194382ad52e7d9f7f6d7398f.tar.xz
protoize
Diffstat (limited to 'lib/xstrtol.c')
-rw-r--r--lib/xstrtol.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/xstrtol.c b/lib/xstrtol.c
index 6c11f7f84..621f67370 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))