aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/common.h b/common.h
index 53669f4..0d1ec4c 100644
--- a/common.h
+++ b/common.h
@@ -396,10 +396,11 @@ void *mapzeros(uint);
int munmap(void *, size_t);
int getpredeffile(struct memfile **, const char *name);
int openfile(const char **err, struct memfile **, const char *path);
-const char *getfilename(int id);
+const char *getfilename(int id, uint atoff);
struct memfile *getfile(int id);
void addfileline(int id, uint off);
-void getfilepos(int *line, int *col, int id, uint off);
+void setfileline(int id, uint off, int line, const char *file);
+const char *getfilepos(int *line, int *col, int id, uint off);
bool isoncefile(int id, const char **guard);
void markfileonce(int id, const char *guard);
void markfileseen(int id);