about summary refs log tree commit diff
path: root/stdlib/tst-strtod.h
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-strtod.h')
-rw-r--r--stdlib/tst-strtod.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/tst-strtod.h b/stdlib/tst-strtod.h
index d53c1de95a..607cf393aa 100644
--- a/stdlib/tst-strtod.h
+++ b/stdlib/tst-strtod.h
@@ -22,10 +22,10 @@
 #define FSTRLENMAX 128
 
 /* Splat n variants of the same test for the various strtod functions.  */
-#define GEN_TEST_STRTOD_FOREACH(mfunc)		  \
-    mfunc (  f,       float, snprintf,  "", f, f) \
-    mfunc (  d,      double, snprintf,  "",  ,  ) \
-    mfunc ( ld, long double, snprintf, "L", L, l)
+#define GEN_TEST_STRTOD_FOREACH(mfunc, ...)			 \
+    mfunc (  f,       float, snprintf,  "", f, f, ##__VA_ARGS__) \
+    mfunc (  d,      double, snprintf,  "",  ,  , ##__VA_ARGS__) \
+    mfunc ( ld, long double, snprintf, "L", L, l, ##__VA_ARGS__)
 /* The arguments to the generated macros are:
    FSUF - Function suffix
    FTYPE - float type