diff options
author | Kevin Ryde <user42@zip.com.au> | 2000-04-29 00:56:08 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2000-04-29 00:56:08 +0200 |
commit | c4f5f2e892d41253bca8cbc04cc84c6deae47daf (patch) | |
tree | a04df5f4946a0e1c5d5470930e5797e15f9ebb8f /mpn/generic/hamdist.c | |
parent | f1559352f18c62d3297e66a22b658538091973cc (diff) | |
download | gmp-c4f5f2e892d41253bca8cbc04cc84c6deae47daf.tar.gz |
Provide dual ANSI/K&R function definitions.
Diffstat (limited to 'mpn/generic/hamdist.c')
-rw-r--r-- | mpn/generic/hamdist.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mpn/generic/hamdist.c b/mpn/generic/hamdist.c index 1b77b661e..b5a19c19b 100644 --- a/mpn/generic/hamdist.c +++ b/mpn/generic/hamdist.c @@ -1,6 +1,6 @@ /* mpn_hamdist -- -Copyright (C) 1994, 1996 Free Software Foundation, Inc. +Copyright (C) 1994, 1996, 2000 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -39,8 +39,12 @@ MA 02111-1307, USA. */ You have to figure out how this works, I won't tell you! */ static inline unsigned int +#if __STDC__ +popc_limb (mp_limb_t x) +#else popc_limb (x) mp_limb_t x; +#endif { #if BITS_PER_MP_LIMB == 64 /* We have to go into some trouble to define these constants. |