ref: a1964a416460da1d6207671930034b9e942b12ed
parent: eb498d4e7706fa6f99d364ee96f8da2533d99a21
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Wed Dec 27 21:57:01 EST 2023
fs: openlmp: expose globally
--- a/fns.h
+++ b/fns.h
@@ -39,6 +39,7 @@
void* loadcachelmp(char *, mem_user_t *);
void* loadstklmp(char *, void *, int, int *);
void loadpoints(void);
+FILE* openlmp(char *f, int *len);
void dumpcfg(void);
void savnames(void);
int dumpsav(char*, char*);
--- a/fs.c
+++ b/fs.c
@@ -314,7 +314,7 @@
fclose(bf);
}
-static FILE *
+FILE *
openlmp(char *f, int *len)
{
char d[Nfspath+1];