aboutsummaryrefslogtreecommitdiffstats
path: root/rdoff/segtab.h
diff options
context:
space:
mode:
Diffstat (limited to 'rdoff/segtab.h')
-rw-r--r--rdoff/segtab.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/rdoff/segtab.h b/rdoff/segtab.h
index 14cb6007..1679d3f9 100644
--- a/rdoff/segtab.h
+++ b/rdoff/segtab.h
@@ -1,6 +1,13 @@
+#ifndef RDOFF_SEGTAB_H
+#define RDOFF_SEGTAB_H 1
+
+#include <inttypes.h>
+
typedef void *segtab;
void init_seglocations(segtab * r);
void add_seglocation(segtab * r, int localseg, int destseg, int32_t offset);
int get_seglocation(segtab * r, int localseg, int *destseg, int32_t *offset);
void done_seglocations(segtab * r);
+
+#endif