Skip to content

Commit 6053bf5

Browse files
committed
fix set cb macro
1 parent 671d204 commit 6053bf5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

timeout.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ struct timeout_cb {
107107

108108
#define TIMEOUT_INITIALIZER(flags) { (flags) }
109109

110-
#define timeout_setcb(to, fn, arg) do { \
111-
(to)->callback.fn = (fn); \
112-
(to)->callback.arg = (arg); \
110+
#define timeout_setcb(to, f, a) do { \
111+
(to)->callback.fn = (f); \
112+
(to)->callback.arg = (a); \
113113
} while (0)
114114

115115
struct timeout {

0 commit comments

Comments
 (0)