summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-11-29 03:37:29 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-11-29 03:37:29 +0000
commit2154cd6297e9c99c8fba6604194f273c83b0955d (patch)
tree207d1bec3e19bfc1ee0a88fa295bfefd714d9415 /usr.sbin/ospfd
parent41cd8d0e670799c50eeced17da98d9331865d6bb (diff)
Provide a helper function macro_or_word() and use it to prune the
same chunk of argument parsing code out of five of the eight callback functions. The other three have too much special handling to participate. As a bonus, let lookup() and mdoc_args() deal with line macros and retire the lookup_raw() helper and the mdoc_zargs() internal interface function. No functional change, minus 40 lines of code.
Diffstat (limited to 'usr.sbin/ospfd')
0 files changed, 0 insertions, 0 deletions