diff --git a/1992/marangon/Makefile b/1992/marangon/Makefile index 5a98de74c..514362e54 100644 --- a/1992/marangon/Makefile +++ b/1992/marangon/Makefile @@ -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 # diff --git a/1992/marangon/marangon.c b/1992/marangon/marangon.c index 86345705f..f7876dbfe 100644 --- a/1992/marangon/marangon.c +++ b/1992/marangon/marangon.c @@ -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; diff --git a/thanks-for-fixes.md b/thanks-for-fixes.md index b2855c3f2..309f3a9ef 100644 --- a/thanks-for-fixes.md +++ b/thanks-for-fixes.md @@ -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