summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohamed Akram <mohd.akram@outlook.com>2024-07-15 20:23:36 +0200
committerChristian Brabandt <cb@256bit.org>2024-07-15 20:23:36 +0200
commit3ce274682b6c4ef6d8d49a8afefe748858e59ba2 (patch)
tree6e530f0dc4ccf85f58689f4d0242e4add1919485
parent1cc4cae961a7b49608ef7bd56837cc723d49db4d (diff)
patch 9.1.0588: The maze program no longer compiles on newer clangv9.1.0588
Problem: The maze program no longer compiles on newer clang Solution: Use ANSI C function definition for main() (Mohamed Akram) Implicit int is an error in newer versions of clang. closes: #15247 Signed-off-by: Mohamed Akram <mohd.akram@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
-rw-r--r--runtime/macros/maze/mazeclean.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/runtime/macros/maze/mazeclean.c b/runtime/macros/maze/mazeclean.c
index 04dcebd22a..f0f0bb69cd 100644
--- a/runtime/macros/maze/mazeclean.c
+++ b/runtime/macros/maze/mazeclean.c
@@ -8,7 +8,7 @@
char *M, A, Z, E = 40, line[80], T[3];
int
-main (C)
+main (int C)
{
for (M = line + E, *line = A = scanf ("%d", &C); --E; line[E] = M[E] = E)
printf ("._");
diff --git a/src/version.c b/src/version.c
index 9ce9c8f7af..e97346dbcb 100644
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 588,
+/**/
587,
/**/
586,