Better ANSI C compatibility and portability - part 1:
authorcarl <cecodere@yahoo.ca>
Mon, 18 Feb 2019 16:30:35 +0000 (00:30 +0800)
committercarl <cecodere@yahoo.ca>
Mon, 18 Feb 2019 16:54:23 +0000 (00:54 +0800)
* Adapt to new sys_filesize prototype.

lang/basic/src/gencode.c

index 710de16..6a500d0 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include "bem.h"
+#include "system.h"
 
 #ifndef NORSCID
 static char rcs_id[] = "$Id$" ;
@@ -59,7 +60,7 @@ List  *datalist=0;
 datastmt()
 {
        List *l,*l1;
-       extern long sys_filesize();
+
 
        /* NOSTRICT */ l= (List *) salloc(sizeof(List));
        l->linenr= currline->linenr;