aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2023-06-06 15:08:46 +0200
committerlemon <lsof@mailbox.org>2023-06-06 15:08:46 +0200
commit86625b1166bd39e28b4dd4995ed6cd88c0bdde7e (patch)
tree2bfd67ddc7e3b4bb4c4a3d951dfc80fac7c4bad3 /common.h
parent3388975ee3a0814e9c95863035ab0d122174c549 (diff)
codegen skeleton
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.h b/common.h
index 5ebbcd8..f45ce62 100644
--- a/common.h
+++ b/common.h
@@ -398,6 +398,8 @@ int bfmt(struct wbuf *, const char *, ...);
#define efmt(...) bfmt(&bstderr, __VA_ARGS__)
struct memfile mapopen(const char **err, const char *path);
void mapclose(struct memfile *);
+void *mapzeros(uint);
+int munmap(void *, size_t);
int openfile(const char **err, struct memfile **, const char *path);
const char *getfilename(int id);
struct memfile *getfile(int id);