diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-04-04 15:55:19 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-04-04 15:55:19 +0000 |
commit | 612feaffd17f2c4aa1145f4d956d80bfcc44ee7b (patch) | |
tree | 7f9f6f78204893171dfbfcc56a8d8d1a4c435136 /mansearch_const.c | |
parent | 770ad91865b8eb1c1ecb431ebe1a2bbb1bb7268d (diff) | |
download | mandoc-612feaffd17f2c4aa1145f4d956d80bfcc44ee7b.tar.gz |
Remember which names are in the NAME section.
This helps to find missing MLINKS.
Database build times do not change and database growth is minimal
(1.2% with -Q, 0.7% without -Q in /usr/share/man),
so making this optional would be pointless.
Diffstat (limited to 'mansearch_const.c')
-rw-r--r-- | mansearch_const.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/mansearch_const.c b/mansearch_const.c index 01e63a26..8e4232c1 100644 --- a/mansearch_const.c +++ b/mansearch_const.c @@ -20,12 +20,13 @@ #include "manpath.h" #include "mansearch.h" -const int mansearch_keymax = 40; +const int mansearch_keymax = 41; -const char *const mansearch_keynames[40] = { - "Nm", "Nd", "arch", "sec", "Xr", "Ar", "Fa", "Fl", - "Dv", "Fn", "Ic", "Pa", "Cm", "Li", "Em", "Cd", - "Va", "Ft", "Tn", "Er", "Ev", "Sy", "Sh", "In", - "Ss", "Ox", "An", "Mt", "St", "Bx", "At", "Nx", - "Fx", "Lk", "Ms", "Bsx", "Dx", "Rs", "Vt", "Lb" +const char *const mansearch_keynames[41] = { + "NAME", "Nm", "Nd", "arch", "sec", "Xr", "Ar", "Fa", + "Fl", "Dv", "Fn", "Ic", "Pa", "Cm", "Li", "Em", + "Cd", "Va", "Ft", "Tn", "Er", "Ev", "Sy", "Sh", + "In", "Ss", "Ox", "An", "Mt", "St", "Bx", "At", + "Nx", "Fx", "Lk", "Ms", "Bsx", "Dx", "Rs", "Vt", + "Lb" }; |