Description: Fix FTBFS for GCC-14
 GCC-14 is more strict on function types. This patch fixes FTBFS when
 building by GCC-14.
Bug-Debian: http://bugs.debian.org/1074860
Author: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Index: bwbasic-2.20pl2/renum.c
===================================================================
--- bwbasic-2.20pl2.orig/renum.c
+++ bwbasic-2.20pl2/renum.c
@@ -6,6 +6,8 @@
 /*-------------------------------------------------------------------*/
 
 #include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
 
 int instr();
 char *midstr1();
@@ -16,7 +18,7 @@ int f2, l2, n, x;
 int sidx[1500][2];
 char rstr[255];
 
-main(argc, argv)
+int main(argc, argv)
    int argc;
    char *argv[];
 {
@@ -472,6 +474,7 @@ main(argc, argv)
    fclose(fdout);
    sprintf(tempstr, "mv editfl %s\0", f9str);
    system(tempstr);
+   return 0;
 }
 
 
