Skip to content

Commit f6376cb

Browse files
Merge pull request swiftlang#406 from adierking/printflike
dispatch_c99: remove unnecessary __printflike() definition
2 parents 3ed78b5 + 37bd964 commit f6376cb

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/dispatch_c99.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@
2121
#include <dispatch/dispatch.h>
2222
#include <stdlib.h>
2323

24-
#ifdef __linux__
25-
// On Linux normally comes from libbsd overlay files,
26-
// but the headers are not c99 compliant so we compile
27-
// this test case without $(BSD_OVERLAY_CFLAGS)
28-
#define __printflike(a,b) __attribute__((format(printf, a, b)))
29-
#include <inttypes.h>
30-
#endif
31-
3224
#include <bsdtests.h>
3325
#include "dispatch_test.h"
3426

0 commit comments

Comments
 (0)