Make 1992/marangon main() return int, not void
Due to the fact that void main() will not work in some systems, of course.
This commit is contained in:
1 parent
0be0511329
commit
1f3d4babb8
3 files changed
+8
-2
No files matched your search
@@ -41,7 +41,8 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-logical-op-parentheses -Wno-main-return-type -Wno-missing-braces \
|
||||
-Wno-parentheses -Wno-return-type -Wno-tautological-bitwise-compare \
|
||||
-Wno-unsequenced -Wno-deprecated-non-prototype -Wno-strict-prototypes
|
||||
-Wno-unsequenced -Wno-deprecated-non-prototype -Wno-strict-prototypes \
|
||||
-Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -48,7 +48,7 @@ I (;y<6;++y)
|
||||
I(x=0;x<6;++x)
|
||||
mvwaddch(r,X(y),Y(x),z[x][y]+'0'); Q(0);
|
||||
}
|
||||
void main()
|
||||
int main()
|
||||
{
|
||||
char *ST();
|
||||
i a=0,b=0,c,q,t,s,x,sc=0;
|
||||
|
||||
Reference in new issue
Block a user