summaryrefslogtreecommitdiffstats
path: root/sysif.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-02-05 07:46:48 -0800
committerKaz Kylheku <kaz@kylheku.com>2017-02-05 07:46:48 -0800
commitb1a8da709c6fc23122cd0f1c1999688ceff27a38 (patch)
tree994d78354ddd42da0bc0614eb6c18e7af3044283 /sysif.c
parentb15b71016f255e91e6663a22ab61719330246c87 (diff)
downloadtxr-b1a8da709c6fc23122cd0f1c1999688ceff27a38.tar.gz
txr-b1a8da709c6fc23122cd0f1c1999688ceff27a38.tar.bz2
txr-b1a8da709c6fc23122cd0f1c1999688ceff27a38.zip
keep/remove: reduce duplication, optimize.
* lib.c (rem_impl): New static function. (remove_if): Rewritten similarly to rem_impl. (remq, remql, remqual, keepq, keepql, keepqual): Reduced to wrappers around rem_impl. (keep_if): Wrapper around remove_if with test negated. * lib.c (remq, remql, remqual, remove_if, keepq, keepql, keepqual, keep_if): Argument names adjusted.
Diffstat (limited to 'sysif.c')
0 files changed, 0 insertions, 0 deletions