summaryrefslogtreecommitdiffstats
path: root/sys/libkern
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1999-05-14 05:05:33 +0000
committergibbs <gibbs@FreeBSD.org>1999-05-14 05:05:33 +0000
commit04cdde2f41757fd9ef3c46f072d790585422fa94 (patch)
tree8c8f9dfcf30ec848ab22c56c604d3ca4a4658b4a /sys/libkern
parent5b44c4694ec7ccb6fad628f3f687e3313acfb16f (diff)
downloadFreeBSD-src-04cdde2f41757fd9ef3c46f072d790585422fa94.zip
FreeBSD-src-04cdde2f41757fd9ef3c46f072d790585422fa94.tar.gz
Add ucmpdi2.c to i386 libkern build. Its required for some quad
manipulation in the aic7xxx driver.
Diffstat (limited to 'sys/libkern')
-rw-r--r--sys/libkern/quad.h3
-rw-r--r--sys/libkern/ucmpdi2.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/libkern/quad.h b/sys/libkern/quad.h
index c299279..cd4d5e5 100644
--- a/sys/libkern/quad.h
+++ b/sys/libkern/quad.h
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)quad.h 8.1 (Berkeley) 6/4/93
- * $Id$
+ * $Id: quad.h,v 1.6 1997/02/22 09:39:58 peter Exp $
*/
/*
@@ -100,6 +100,7 @@ union uu {
quad_t __divdi3 __P((quad_t a, quad_t b));
quad_t __moddi3 __P((quad_t a, quad_t b));
u_quad_t __qdivrem __P((u_quad_t u, u_quad_t v, u_quad_t *rem));
+int __ucmpdi2 __P((u_quad_t a, u_quad_t b));
u_quad_t __udivdi3 __P((u_quad_t a, u_quad_t b));
u_quad_t __umoddi3 __P((u_quad_t a, u_quad_t b));
diff --git a/sys/libkern/ucmpdi2.c b/sys/libkern/ucmpdi2.c
index 4aa3e50..987d213 100644
--- a/sys/libkern/ucmpdi2.c
+++ b/sys/libkern/ucmpdi2.c
@@ -34,10 +34,10 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: ucmpdi2.c,v 1.4 1997/02/22 09:40:05 peter Exp $
*/
-#include "quad.h"
+#include <libkern/quad.h>
/*
* Return 0, 1, or 2 as a <, =, > b respectively.
OpenPOWER on IntegriCloud