Reduce the amount of code by moving the three copies of the ohash
authorschwarze <schwarze@openbsd.org>
Tue, 13 Oct 2015 15:50:15 +0000 (15:50 +0000)
committerschwarze <schwarze@openbsd.org>
Tue, 13 Oct 2015 15:50:15 +0000 (15:50 +0000)
commitc4b66caec184046e9873cf909bbbccfc9e0cdebd
tree2822575d4cbb0bd5c7e675bfceb9810960bc977b
parent5c94ac0a208933b6c3eb0fd2dadba23dbb0cc137
Reduce the amount of code by moving the three copies of the ohash
callback functions into one common place, preparing for the use of
ohash for some additional purposes.  No functional change.
usr.bin/mandoc/Makefile
usr.bin/mandoc/mandoc_ohash.c [new file with mode: 0644]
usr.bin/mandoc/mandoc_ohash.h [new file with mode: 0644]
usr.bin/mandoc/mandocdb.c
usr.bin/mandoc/mansearch.c
usr.bin/mandoc/tag.c