@@ -1167,25 +1167,25 @@ version (MinGW)
1167
1167
// reals at all.
1168
1168
// /
1169
1169
pragma (printf)
1170
- int __mingw_fprintf (FILE * stream, scope const char * format, ... );
1170
+ int __mingw_fprintf (FILE * stream, scope const char * format, scope const ... );
1171
1171
// /
1172
1172
alias __mingw_fprintf fprintf;
1173
1173
1174
1174
// /
1175
1175
pragma (scanf)
1176
- int __mingw_fscanf (FILE * stream, scope const char * format, ... );
1176
+ int __mingw_fscanf (FILE * stream, scope const char * format, scope ... );
1177
1177
// /
1178
1178
alias __mingw_fscanf fscanf;
1179
1179
1180
1180
// /
1181
1181
pragma (printf)
1182
- int __mingw_sprintf (scope char * s, scope const char * format, ... );
1182
+ int __mingw_sprintf (scope char * s, scope const char * format, scope const ... );
1183
1183
// /
1184
1184
alias __mingw_sprintf sprintf;
1185
1185
1186
1186
// /
1187
1187
pragma (scanf)
1188
- int __mingw_sscanf (scope const char * s, scope const char * format, ... );
1188
+ int __mingw_sscanf (scope const char * s, scope const char * format, scope ... );
1189
1189
// /
1190
1190
alias __mingw_sscanf sscanf;
1191
1191
@@ -1227,30 +1227,30 @@ version (MinGW)
1227
1227
1228
1228
// /
1229
1229
pragma (printf)
1230
- int __mingw_printf (scope const char * format, ... );
1230
+ int __mingw_printf (scope const char * format, scope const ... );
1231
1231
// /
1232
1232
alias __mingw_printf printf;
1233
1233
1234
1234
// /
1235
1235
pragma (scanf)
1236
- int __mingw_scanf (scope const char * format, ... );
1236
+ int __mingw_scanf (scope const char * format, scope ... );
1237
1237
// /
1238
1238
alias __mingw_scanf scanf;
1239
1239
}
1240
1240
else
1241
1241
{
1242
1242
// /
1243
1243
pragma (printf)
1244
- int fprintf (FILE * stream, scope const char * format, ... );
1244
+ int fprintf (FILE * stream, scope const char * format, scope const ... );
1245
1245
// /
1246
1246
pragma (scanf)
1247
- int fscanf (FILE * stream, scope const char * format, ... );
1247
+ int fscanf (FILE * stream, scope const char * format, scope ... );
1248
1248
// /
1249
1249
pragma (printf)
1250
- int sprintf (scope char * s, scope const char * format, ... );
1250
+ int sprintf (scope char * s, scope const char * format, scope const ... );
1251
1251
// /
1252
1252
pragma (scanf)
1253
- int sscanf (scope const char * s, scope const char * format, ... );
1253
+ int sscanf (scope const char * s, scope const char * format, scope ... );
1254
1254
// /
1255
1255
pragma (printf)
1256
1256
int vfprintf (FILE * stream, scope const char * format, va_list arg);
@@ -1271,10 +1271,10 @@ else
1271
1271
int vscanf (scope const char * format, va_list arg);
1272
1272
// /
1273
1273
pragma (printf)
1274
- int printf (scope const char * format, ... );
1274
+ int printf (scope const char * format, scope const ... );
1275
1275
// /
1276
1276
pragma (scanf)
1277
- int scanf (scope const char * format, ... );
1277
+ int scanf (scope const char * format, scope ... );
1278
1278
}
1279
1279
1280
1280
// No unsafe pointer manipulation.
@@ -1348,7 +1348,7 @@ version (CRuntime_DigitalMars)
1348
1348
}
1349
1349
// /
1350
1350
pragma (printf)
1351
- int _snprintf (scope char * s, size_t n, scope const char * fmt, ... );
1351
+ int _snprintf (scope char * s, size_t n, scope const char * fmt, scope const ... );
1352
1352
// /
1353
1353
alias _snprintf snprintf;
1354
1354
@@ -1378,7 +1378,7 @@ else version (CRuntime_Microsoft)
1378
1378
version (MinGW )
1379
1379
{
1380
1380
pragma (printf)
1381
- int __mingw_snprintf (scope char * s, size_t n, scope const char * fmt, ... );
1381
+ int __mingw_snprintf (scope char * s, size_t n, scope const char * fmt, scope const ... );
1382
1382
// /
1383
1383
alias __mingw_snprintf _snprintf;
1384
1384
// /
@@ -1396,10 +1396,10 @@ else version (CRuntime_Microsoft)
1396
1396
{
1397
1397
// /
1398
1398
pragma (printf)
1399
- int _snprintf (scope char * s, size_t n, scope const char * format, ... );
1399
+ int _snprintf (scope char * s, size_t n, scope const char * format, scope const ... );
1400
1400
// /
1401
1401
pragma (printf)
1402
- int snprintf (scope char * s, size_t n, scope const char * format, ... );
1402
+ int snprintf (scope char * s, size_t n, scope const char * format, scope const ... );
1403
1403
1404
1404
// /
1405
1405
pragma (printf)
@@ -1443,7 +1443,7 @@ else version (CRuntime_Glibc)
1443
1443
1444
1444
// /
1445
1445
pragma (printf)
1446
- int snprintf (scope char * s, size_t n, scope const char * format, ... );
1446
+ int snprintf (scope char * s, size_t n, scope const char * format, scope const ... );
1447
1447
// /
1448
1448
pragma (printf)
1449
1449
int vsnprintf (scope char * s, size_t n, scope const char * format, va_list arg);
@@ -1467,7 +1467,7 @@ else version (Darwin)
1467
1467
1468
1468
// /
1469
1469
pragma (printf)
1470
- int snprintf (scope char * s, size_t n, scope const char * format, ... );
1470
+ int snprintf (scope char * s, size_t n, scope const char * format, scope const ... );
1471
1471
// /
1472
1472
pragma (printf)
1473
1473
int vsnprintf (scope char * s, size_t n, scope const char * format, va_list arg);
@@ -1491,7 +1491,7 @@ else version (FreeBSD)
1491
1491
1492
1492
// /
1493
1493
pragma (printf)
1494
- int snprintf (scope char * s, size_t n, scope const char * format, ... );
1494
+ int snprintf (scope char * s, size_t n, scope const char * format, scope const ... );
1495
1495
// /
1496
1496
pragma (printf)
1497
1497
int vsnprintf (scope char * s, size_t n, scope const char * format, va_list arg);
@@ -1515,7 +1515,7 @@ else version (NetBSD)
1515
1515
1516
1516
// /
1517
1517
pragma (printf)
1518
- int snprintf (char * s, size_t n, const scope char * format, ... );
1518
+ int snprintf (char * s, size_t n, const scope char * format, scope const ... );
1519
1519
// /
1520
1520
pragma (printf)
1521
1521
int vsnprintf (char * s, size_t n, const scope char * format, va_list arg);
@@ -1608,7 +1608,7 @@ else version (OpenBSD)
1608
1608
1609
1609
// /
1610
1610
pragma (printf)
1611
- int snprintf (scope char * s, size_t n, scope const char * format, ... );
1611
+ int snprintf (scope char * s, size_t n, scope const char * format, scope const ... );
1612
1612
// /
1613
1613
pragma (printf)
1614
1614
int vsnprintf (scope char * s, size_t n, scope const char * format, va_list arg);
@@ -1642,7 +1642,7 @@ else version (DragonFlyBSD)
1642
1642
enum __SIGN = 0x8000 ;
1643
1643
1644
1644
pragma (printf)
1645
- int snprintf (scope char * s, size_t n, scope const char * format, ... );
1645
+ int snprintf (scope char * s, size_t n, scope const char * format, scope const ... );
1646
1646
pragma (printf)
1647
1647
int vsnprintf (scope char * s, size_t n, scope const char * format, va_list arg);
1648
1648
}
@@ -1665,7 +1665,7 @@ else version (Solaris)
1665
1665
1666
1666
// /
1667
1667
pragma (printf)
1668
- int snprintf (scope char * s, size_t n, scope const char * format, ... );
1668
+ int snprintf (scope char * s, size_t n, scope const char * format, scope const ... );
1669
1669
// /
1670
1670
pragma (printf)
1671
1671
int vsnprintf (scope char * s, size_t n, scope const char * format, va_list arg);
@@ -1689,7 +1689,7 @@ else version (CRuntime_Bionic)
1689
1689
1690
1690
// /
1691
1691
pragma (printf)
1692
- int snprintf (scope char * s, size_t n, scope const char * format, ... );
1692
+ int snprintf (scope char * s, size_t n, scope const char * format, scope const ... );
1693
1693
// /
1694
1694
pragma (printf)
1695
1695
int vsnprintf (scope char * s, size_t n, scope const char * format, va_list arg);
@@ -1712,7 +1712,7 @@ else version (CRuntime_Musl)
1712
1712
1713
1713
// /
1714
1714
pragma (printf)
1715
- int snprintf (scope char * s, size_t n, scope const char * format, ... );
1715
+ int snprintf (scope char * s, size_t n, scope const char * format, scope const ... );
1716
1716
// /
1717
1717
pragma (printf)
1718
1718
int vsnprintf (scope char * s, size_t n, scope const char * format, va_list arg);
@@ -1736,7 +1736,7 @@ else version (CRuntime_UClibc)
1736
1736
1737
1737
// /
1738
1738
pragma (printf)
1739
- int snprintf (scope char * s, size_t n, scope const char * format, ... );
1739
+ int snprintf (scope char * s, size_t n, scope const char * format, scope const ... );
1740
1740
// /
1741
1741
pragma (printf)
1742
1742
int vsnprintf (scope char * s, size_t n, scope const char * format, va_list arg);
0 commit comments