goto online;
}
- completion = calloc(sizeof(*completion), 1);
+ completion = calloc(1, sizeof(*completion));
if (!completion)
urcu_die(errno);
cds_list_for_each_entry(crdp, &call_rcu_data_list, list) {
struct call_rcu_completion_work *work;
- work = calloc(sizeof(*work), 1);
+ work = calloc(1, sizeof(*work));
if (!work)
urcu_die(errno);
work->completion = completion;
* This unregistration function is deprecated, meant only for internal
* use by rculfhash.
*/
-__attribute__((noreturn))
+__attribute__((__noreturn__))
void urcu_unregister_rculfhash_atfork(struct urcu_atfork *atfork __attribute__((unused)))
{
urcu_die(EPERM);