Make check_example_location() in find-doc-nits generic
authorJoshua Lock <jlock@vmware.com>
Tue, 9 Apr 2019 13:53:58 +0000 (14:53 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 12 Apr 2019 13:49:47 +0000 (15:49 +0200)
commit95f92d57755a9bfc83135a585da69d497f7293d9
tree9c5e7cbc055ff5fba4b250485d1c905a96ee1fa8
parentfd367b4ce37d8f8353deb93fd7677ca636881d81
Make check_example_location() in find-doc-nits generic

Change to check_section_location(), a generic function to ensure that
section SECTION appears before section BEFORE in the man pages.

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8729)
util/find-doc-nits