Merge pull request #1546 from xexyl/marangon92-int-main
This commit is contained in:
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;
|
||||
|
||||
@@ -1491,6 +1491,11 @@ NOTE: this entry cannot work with clang due to different compiler messages. See
|
||||
[bugs.md](/bugs.md) for details.
|
||||
|
||||
|
||||
## [1992/marangon](1992/marangon/marangon.c) ([README.md](1992/marangon/README.md))
|
||||
|
||||
Cody made this more portable by changing the `void main()` to be `int main()`.
|
||||
|
||||
|
||||
## [1992/nathan](1992/nathan/nathan.c) ([README.md](1992/nathan/README.md))
|
||||
|
||||
Cody added the original file back as it was deemed that the export restrictions
|
||||
|
||||
Reference in new issue
Block a user