summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Ahern <[email protected]>2016-02-24 06:07:39 -0800
committerWilliam Ahern <[email protected]>2016-02-24 06:07:39 -0800
commit03cbc38be09c73943db62782d84bc9994c2f4966 (patch)
tree3bf77fd97800fd0617fa4c9cadf5164b5b73f733
parent8c2260a68bbda7e68d3e51b93dce188c04012edf (diff)
parent73686bececfa2cbb9a7249a2158c335587639f31 (diff)
Merge branch 'nmathewson-timeout_cb_override'
-rw-r--r--timeout.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/timeout.h b/timeout.h
index 97a5feb..ee0180d 100644
--- a/timeout.h
+++ b/timeout.h
@@ -88,11 +88,12 @@ typedef uint64_t timeout_t;
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+#ifndef TIMEOUT_CB_OVERRIDE
struct timeout_cb {
void (*fn)();
void *arg;
}; /* struct timeout_cb */
-
+#endif
/*
* T I M E O U T I N T E R F A C E S