]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: tasks: rename task_remove_from_tasklet_list() to tasklet_remove_*
authorWilly Tarreau <w@1wt.eu>
Fri, 14 Jun 2019 12:47:49 +0000 (14:47 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 14 Jun 2019 12:57:03 +0000 (14:57 +0200)
commit86eded6c69516f579427533c6dcca07c38dc87ac
tree55baca36bea0c0d930c9b1a66a692476bdd19296
parent3c39a7d8891e5e2db3b7803302d6552ccefab280
CLEANUP: tasks: rename task_remove_from_tasklet_list() to tasklet_remove_*

The function really only operates on tasklets, its arguments are always
tasklets cast as tasks to match the function's type, to be cast back to
a struct tasklet. Let's rename it to tasklet_remove_from_tasklet_list(),
take a struct tasklet, and get rid of the undesired task casts.
include/proto/task.h
src/checks.c
src/mux_h2.c
src/task.c