summaryrefslogtreecommitdiffstats
path: root/mandocdb.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-12-25 14:58:39 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-12-25 14:58:39 +0000
commite354f02652b641f5d8891c38baf28df81421f487 (patch)
tree0099942f292e9ed19c685e90cd94f94ce75ea015 /mandocdb.h
parent20c8cad8f64887c77b09b3ee81ab573973c2d6e6 (diff)
downloadmandoc-e354f02652b641f5d8891c38baf28df81421f487.tar.gz
For binary compatability of the databases across architectures,
use pointers to arrays, not pointers to structs. It is now possible to create databases on sparc64 and use them on i386 and vice versa. Kristaps@ can't think of anything else that might be required, either. Put this in now such that we can move on.
Diffstat (limited to 'mandocdb.h')
-rw-r--r--mandocdb.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/mandocdb.h b/mandocdb.h
index 8f8791d3..6ac8b774 100644
--- a/mandocdb.h
+++ b/mandocdb.h
@@ -17,11 +17,6 @@
#ifndef MANDOCDB_H
#define MANDOCDB_H
-struct db_val {
- uint64_t mask;
- uint32_t rec;
-};
-
#define MANDOC_DB "mandoc.db"
#define MANDOC_IDX "mandoc.index"