diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-11-26 16:41:36 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-11-26 16:41:36 +0000 |
commit | 2dcffed7ef84c2009020f2c105db781e9a7dff18 (patch) | |
tree | 7c1ddfc75f4a9ff8c777c0ce18bf230235d06a71 /usr.bin/mandoc/mandocdb.h | |
parent | cac096a251aba33da0ad525aabf2877d4fed991f (diff) |
Resync to bsd.lv, most code from kristaps@.
In particular, support the MANPATH environment variable
and don't confuse index record numbers when working with
multiple mandoc databases at once.
Besides, remove lots of gratuitious code and whitespace differences.
Diffstat (limited to 'usr.bin/mandoc/mandocdb.h')
-rw-r--r-- | usr.bin/mandoc/mandocdb.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/mandoc/mandocdb.h b/usr.bin/mandoc/mandocdb.h index 8b5bd54df4c..c69292e4e2b 100644 --- a/usr.bin/mandoc/mandocdb.h +++ b/usr.bin/mandoc/mandocdb.h @@ -1,4 +1,4 @@ -/* $Id: mandocdb.h,v 1.2 2011/11/17 15:38:27 schwarze Exp $ */ +/* $Id: mandocdb.h,v 1.3 2011/11/26 16:41:35 schwarze Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -14,6 +14,8 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifndef MANDOCDB_H +#define MANDOCDB_H struct db_val { uint64_t mask; @@ -61,3 +63,5 @@ struct db_val { #define TYPE_Va 0x0000000800000000ULL #define TYPE_Vt 0x0000001000000000ULL #define TYPE_Xr 0x0000002000000000ULL + +#endif /*!MANDOCDB_H */ |