diff options
author | 2014-08-26 22:39:09 +0000 | |
---|---|---|
committer | 2014-08-26 22:39:09 +0000 | |
commit | 3a94a8df01936e87a5ae5db769cc70d992a4acf5 (patch) | |
tree | 4fa19bbe5e66598c786f46c1f7258958e3969502 /usr.bin/diff/diffreg.c | |
parent | fix SEE ALSO; (diff) | |
download | wireguard-openbsd-3a94a8df01936e87a5ae5db769cc70d992a4acf5.tar.xz wireguard-openbsd-3a94a8df01936e87a5ae5db769cc70d992a4acf5.zip |
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 'usr.bin/diff/diffreg.c')
0 files changed, 0 insertions, 0 deletions