[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-tech
Subject:    Patch for quad.h, removal of unused prototypes.
From:       Brynet <brynet () gmail ! com>
Date:       2008-02-22 18:56:13
Message-ID: d59b43c50802221056m5a839e74q82b8b35576a5b27d () mail ! gmail ! com
[Download RAW message or body]

About 12+ years ago, the libc quad functions were merged into
sys/lib/libkern minus a few miscellaneous files. (In the NetBSD CVS
tree..)

The copied quad.h was never updated:
--- /usr/src/sys/lib/libkern/quad.h	Sun Nov 28 02:23:41 2004
+++ /usr/src/sys/lib/libkern/quad.h	Fri Feb 22 13:47:14 2008
@@ -113,13 +113,6 @@
 quad_t __ashrdi3(quad_t, qshift_t);
 int __cmpdi2(quad_t, quad_t);
 quad_t __divdi3(quad_t, quad_t);
-quad_t __fixdfdi(double);
-quad_t __fixsfdi(float);
-u_quad_t __fixunsdfdi(double);
-u_quad_t __fixunssfdi(float);
-double __floatdidf(quad_t);
-float __floatdisf(quad_t);
-double __floatunsdidf(u_quad_t);
 quad_t __iordi3(quad_t, quad_t);
 quad_t __lshldi3(quad_t, qshift_t);
 quad_t __lshrdi3(quad_t, qshift_t);

Yes, I'm aware how trivial this patch is... :)

[demime 1.01d removed an attachment of type application/octet-stream which had a name of quad.diff]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic