remove obsolete global varible gmp_errno

This commit is contained in:
jasonmoxham 2009-09-12 13:29:35 +00:00
parent 59e7877431
commit 8c976a91a4
2 changed files with 0 additions and 6 deletions

View File

@ -27,8 +27,6 @@ MA 02110-1301, USA. */
#include "mpir.h"
#include "gmp-impl.h"
int gmp_errno = 0;
/* The deliberate divide by zero triggers an exception on most systems. On
those where it doesn't, for example power and powerpc, use abort instead.
@ -40,7 +38,6 @@ int gmp_errno = 0;
void
__gmp_exception (int error_bit)
{
gmp_errno |= error_bit;
__gmp_junk = 10 / __gmp_0;
abort ();
}

View File

@ -546,9 +546,6 @@ __GMP_DECLSPEC void mp_get_memory_functions __GMP_PROTO ((void *(**) (size_t),
#define mp_bits_per_limb __gmp_bits_per_limb
__GMP_DECLSPEC extern __gmp_const int mp_bits_per_limb;
#define gmp_errno __gmp_errno
__GMP_DECLSPEC extern int gmp_errno;
#define gmp_version __gmp_version
__GMP_DECLSPEC extern __gmp_const char * __gmp_const gmp_version;