aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit0c0e6315b693c775634281199f1983184acff5e5 (patch)
treed84de2f1f28d10439bc42fea70a642be4b63afe0 /mandocdb.h
parent1282796854ba0d64d77baf61f72081d5c1e45a8c (diff)
downloadmandoc-0c0e6315b693c775634281199f1983184acff5e5.tar.gz
mandoc-0c0e6315b693c775634281199f1983184acff5e5.tar.zst
mandoc-0c0e6315b693c775634281199f1983184acff5e5.zip
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.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/mandocdb.h b/mandocdb.h
index 8ad13a30..7c7e3c5b 100644
--- a/mandocdb.h
+++ b/mandocdb.h
@@ -1,4 +1,4 @@
-/* $Id: mandocdb.h,v 1.3 2011/11/20 12:39:08 kristaps Exp $ */
+/* $Id: mandocdb.h,v 1.4 2011/12/25 14:58:39 schwarze Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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"