From 0c0e6315b693c775634281199f1983184acff5e5 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 25 Dec 2011 14:58:39 +0000 Subject: 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. --- mandocdb.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'mandocdb.h') 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 * @@ -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" -- cgit v1.2.3-56-ge451