summaryrefslogtreecommitdiffstats
path: root/lib/libc/quad
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-09-12 16:16:12 +0000
committerstefanf <stefanf@FreeBSD.org>2005-09-12 16:16:12 +0000
commit7368122bb1f6d70377ca925a34e1cd3286ae7b72 (patch)
treef20993315511bcc7da35e7a86cf463e1648dc3b7 /lib/libc/quad
parent2e4788713c90e81d7596db6a6289231f1d234d77 (diff)
downloadFreeBSD-src-7368122bb1f6d70377ca925a34e1cd3286ae7b72.zip
FreeBSD-src-7368122bb1f6d70377ca925a34e1cd3286ae7b72.tar.gz
- Add prototypes for __cmpdi2() and __ucmpdi2().
- Remove GCC 1 stuff.
Diffstat (limited to 'lib/libc/quad')
-rw-r--r--lib/libc/quad/quad.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/libc/quad/quad.h b/lib/libc/quad/quad.h
index fd1f5cc..1f7c1ac 100644
--- a/lib/libc/quad/quad.h
+++ b/lib/libc/quad/quad.h
@@ -96,20 +96,12 @@ union uu {
#define LHALF(x) ((x) & ((1 << HALF_BITS) - 1))
#define LHUP(x) ((x) << HALF_BITS)
+int __cmpdi2(quad_t a, quad_t b);
quad_t __divdi3(quad_t a, quad_t b);
quad_t __moddi3(quad_t a, quad_t b);
u_quad_t __qdivrem(u_quad_t u, u_quad_t v, u_quad_t *rem);
+int __ucmpdi2(u_quad_t a, u_quad_t b);
u_quad_t __udivdi3(u_quad_t a, u_quad_t b);
u_quad_t __umoddi3(u_quad_t a, u_quad_t b);
-/*
- * XXX
- * Compensate for gcc 1 vs gcc 2. Gcc 1 defines ?sh?di3's second argument
- * as u_quad_t, while gcc 2 correctly uses int. Unfortunately, we still use
- * both compilers.
- */
-#if __GNUC__ >= 2
typedef unsigned int qshift_t;
-#else
-typedef u_quad_t qshift_t;
-#endif
OpenPOWER on IntegriCloud