summaryrefslogtreecommitdiffstats
path: root/mansearch.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-04-17 20:05:08 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-04-17 20:05:08 +0000
commitc7a44df70eae152539b7cfc86ee59652ec3eacfa (patch)
treecb3d44aa4cc60a495b94ca37582d50a91f346700 /mansearch.h
parentb77a8c2ff5ea202beb258855ce89c8146209d695 (diff)
downloadmandoc-c7a44df70eae152539b7cfc86ee59652ec3eacfa.tar.gz
Restore -kO Nd, -kO Nm, -kO sec, and -kO arch to working order.
They got broken in the SQLite removal. As opposed to the rest of -kO, they are no longer very useful, but they are certainly not supposed to fail assertions. Issue reported by Gonzalo Tornaria <tornaria at cmat dot edu dot uy>.
Diffstat (limited to 'mansearch.h')
-rw-r--r--mansearch.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/mansearch.h b/mansearch.h
index 2688bde4..d18c226d 100644
--- a/mansearch.h
+++ b/mansearch.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*
* Copyright (c) 2012 Kristaps Dzonsons <kristaps@bsd.lv>
- * Copyright (c) 2013, 2014, 2016 Ingo Schwarze <schwarze@openbsd.org>
+ * Copyright (c) 2013, 2014, 2016, 2017 Ingo Schwarze <schwarze@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -21,6 +21,9 @@
#define MANDOCDB_VERSION 1
#define MACRO_MAX 36
+#define KEY_arch 0
+#define KEY_sec 1
+#define KEY_Nm 38
#define KEY_Nd 39
#define KEY_MAX 40