Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions timeout.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ struct timeout_cb {

#define TIMEOUT_INITIALIZER(flags) { (flags) }

#define timeout_setcb(to, fn, arg) do { \
(to)->callback.fn = (fn); \
(to)->callback.arg = (arg); \
#define timeout_setcb(to, f, a) do { \
(to)->callback.fn = (f); \
(to)->callback.arg = (a); \
} while (0)

struct timeout {
Expand Down