Skip to content

Commit 85cbd4a

Browse files
committed
Move ssize_t to the global scope, as it must ultimately be provided in the global scope
1 parent 9d6235b commit 85cbd4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Sema/format-strings-fixit-ssize_t.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
int printf(char const *, ...);
1212
int scanf(const char *, ...);
1313

14+
typedef long ssize_t;
1415
void test(void) {
15-
typedef signed long int ssize_t;
1616
printf("%f", (ssize_t) 42);
1717
ssize_t s;
1818
scanf("%f", &s);

0 commit comments

Comments
 (0)