summaryrefslogtreecommitdiff
path: root/mpz/cmp.c
diff options
context:
space:
mode:
authorMarco Bodrato <bodrato@mail.dm.unipi.it>2011-01-03 20:00:11 +0100
committerMarco Bodrato <bodrato@mail.dm.unipi.it>2011-01-03 20:00:11 +0100
commitbb0d5b1f6b37144d9cde4d95144290ee9b3faea4 (patch)
treebdd6f6aba6a6d8181e2972fb21a04ee57bf751e2 /mpz/cmp.c
parent37d49aca5da88720e54d9c965daa1798be53faf6 (diff)
downloadgmp-bb0d5b1f6b37144d9cde4d95144290ee9b3faea4.tar.gz
Removed all #ifdef BERKELEY_MP.
Diffstat (limited to 'mpz/cmp.c')
-rw-r--r--mpz/cmp.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/mpz/cmp.c b/mpz/cmp.c
index a6d9d3889..b7bf0d967 100644
--- a/mpz/cmp.c
+++ b/mpz/cmp.c
@@ -1,7 +1,8 @@
/* mpz_cmp(u,v) -- Compare U, V. Return positive, zero, or negative
based on if U > V, U == V, or U < V.
-Copyright 1991, 1993, 1994, 1996, 2001, 2002 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1996, 2001, 2002, 2011 Free Software
+Foundation, Inc.
This file is part of the GNU MP Library.
@@ -18,18 +19,11 @@ License for more details.
You should have received a copy of the GNU Lesser General Public License
along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
-#ifdef BERKELEY_MP
-#include "mp.h"
-#endif
#include "gmp.h"
#include "gmp-impl.h"
int
-#ifdef BERKELEY_MP
-mcmp (mpz_srcptr u, mpz_srcptr v)
-#else
mpz_cmp (mpz_srcptr u, mpz_srcptr v) __GMP_NOTHROW
-#endif
{
mp_size_t usize, vsize, dsize, asize;
mp_srcptr up, vp;