Skip to content

Commit b269fb3

Browse files
committed
Merge pull request microsoft#1 from majnemer/int-main
Replace 'void main' with 'int main'.
2 parents 7ce4dc2 + 45e5713 commit b269fb3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eh/ihateeh.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ A test() {
164164
return a1 + A() + a2 + A() + a3 + a4;
165165
}
166166

167-
void main() {
167+
int main() {
168168
int i;
169169

170170
/* Call test(), with a different ctor/dtor throwing each time */

seh/xcpt4u.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ VOID Test88(_Inout_ PLONG Counter)
923923
finally { *Counter += 1; }
924924
}
925925

926-
VOID main(int argc, char *argv[])
926+
int main(int argc, char *argv[])
927927

928928
{
929929

0 commit comments

Comments
 (0)