Add definitions of macros __MATHCALLX and __MATHDECLX.
authordrepper <drepper>
Tue, 25 Mar 1997 01:17:16 +0000 (01:17 +0000)
committerdrepper <drepper>
Tue, 25 Mar 1997 01:17:16 +0000 (01:17 +0000)
math/math.h

index 89c1cfa..4d88f06 100644 (file)
@@ -48,6 +48,11 @@ __BEGIN_DECLS
 #define __MATHDECL(type, function,suffix, args) \
   __MATHDECL_1(type, function,suffix, args); \
   __MATHDECL_1(type, __CONCAT(__,function),suffix, args)
+#define __MATHCALLX(function,suffix, args, attrib)     \
+  __MATHDECLX (_Mdouble_,function,suffix, args, attrib)
+#define __MATHDECLX(type, function,suffix, args, attrib) \
+  __MATHDECL_1(type, function,suffix, args) __attribute__ (attrib); \
+  __MATHDECL_1(type, __CONCAT(__,function),suffix, args) __attribute__ (attrib)
 #define __MATHDECL_1(type, function,suffix, args) \
   extern type __MATH_PRECNAME(function,suffix) args