Better ANSI C compatibility and portability - part 1:
* Adapt to new sys_filesize prototype.
This commit is contained in:
parent
2e1c7c37e7
commit
796317e0e3
|
@ -4,6 +4,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "bem.h"
|
#include "bem.h"
|
||||||
|
#include "system.h"
|
||||||
|
|
||||||
#ifndef NORSCID
|
#ifndef NORSCID
|
||||||
static char rcs_id[] = "$Id$" ;
|
static char rcs_id[] = "$Id$" ;
|
||||||
|
@ -59,7 +60,7 @@ List *datalist=0;
|
||||||
datastmt()
|
datastmt()
|
||||||
{
|
{
|
||||||
List *l,*l1;
|
List *l,*l1;
|
||||||
extern long sys_filesize();
|
|
||||||
|
|
||||||
/* NOSTRICT */ l= (List *) salloc(sizeof(List));
|
/* NOSTRICT */ l= (List *) salloc(sizeof(List));
|
||||||
l->linenr= currline->linenr;
|
l->linenr= currline->linenr;
|
||||||
|
|
Loading…
Reference in a new issue