Rename a function to avoid a clash with an em system call.
authorDavid Given <dg@cowlark.com>
Wed, 13 Jun 2018 12:34:14 +0000 (21:34 +0900)
committerDavid Given <dg@cowlark.com>
Wed, 13 Jun 2018 12:34:14 +0000 (21:34 +0900)
lang/basic/lib/file.c
lang/basic/src/basic.g

index 3c558a8..4e28af0 100644 (file)
@@ -123,7 +123,7 @@ int _ioeof(int channel)
        return (0);
 }
 
-void _close(void)
+void _closeall(void)
 {
        /* close all open files */
        int i;
index 5c4f697..bd94cf4 100644 (file)
@@ -207,7 +207,7 @@ clearstmt { int exp; }
        ;
 
 closestmt:     filelist                
-       |       /* empty */     { C_cal("_close"); }
+       |       /* empty */     { C_cal("_closeall"); }
        ;
 
 filelist { int intv; }