diff options
| author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-16 17:55:39 +0000 |
|---|---|---|
| committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-16 17:55:39 +0000 |
| commit | 4adbbeb6168202a6ba7110c9b12af88aa1f7f628 (patch) | |
| tree | c5f7ea64c52980fe5a648d50c3d29fdd4c873ea5 /chars.c | |
| parent | b2ad02166611de626a86e8ec455f4aa103886a36 (diff) | |
| download | mandoc-4adbbeb6168202a6ba7110c9b12af88aa1f7f628.tar.gz mandoc-4adbbeb6168202a6ba7110c9b12af88aa1f7f628.zip | |
Instead of a series of hard-coded strcmps, make argv_a2arg() iterate
over an array of possible argument types, hooking in to mdoc_argnames[].
This knocks off bytes for the duplicated strings and cleans up code
readability.
Diffstat (limited to 'chars.c')
0 files changed, 0 insertions, 0 deletions
