diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-08-26 22:39:10 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-08-26 22:39:10 +0000 |
commit | 17f9a8f158f66af83c6762a99606631201f8e7e0 (patch) | |
tree | 85f376a7bf89a1f0010ee034d8824dd3fc8a122b /sys | |
parent | f694c4cbd3d6ff9840225f6014b52fdf6b7ede27 (diff) |
Simplify the function add_flags().
Do not validate input twice, scrap needless array, and avoid needless
expensive function calls to svc_get_flags(), svc_default_enabled_flags(),
_rc_parse_conf(), and resolve code duplication. No functional change.
Feedback and OK ajacoutot@.
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions