Skip to content

Commit ca17f4e

Browse files
committed
Fix warning for void main
1 parent 3306289 commit ca17f4e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arrayboundscheck/src/main.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
extern __attribute__((noreturn)) void d_main();
22

3-
void main() {
3+
int main() {
44
d_main();
5+
return 0;
56
}

0 commit comments

Comments
 (0)