Event *event;
} Worker;
-static Event *event_free(Event *event) {
+static Event* event_free(Event *event) {
if (!event)
return NULL;
}
}
-static Worker *worker_free(Worker *worker) {
+static Worker* worker_free(Worker *worker) {
if (!worker)
return NULL;
}
DEFINE_TRIVIAL_CLEANUP_FUNC(Worker*, worker_free);
-DEFINE_PRIVATE_HASH_OPS_WITH_VALUE_DESTRUCTOR(worker_hash_op, void, trivial_hash_func, trivial_compare_func, Worker, worker_free);
+DEFINE_PRIVATE_HASH_OPS_WITH_VALUE_DESTRUCTOR(
+ worker_hash_op,
+ void,
+ trivial_hash_func,
+ trivial_compare_func,
+ Worker,
+ worker_free);
Manager* manager_free(Manager *manager) {
if (!manager)