diff options
author | 2014-05-01 16:44:37 -0700 | |
---|---|---|
committer | 2014-05-01 16:44:37 -0700 | |
commit | 186b0f62ebf34a446730d45a0a27a51be335df24 (patch) | |
tree | 4ef2adef01363264cc00ed923455b192a20589a1 /common.h | |
parent | 60c8012e9e8472330e6c77aa5755e4ec1ebb6a1a (diff) |
Early implementation of inotify-based universal variable notifier for
Linux
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -849,6 +849,9 @@ void assert_is_not_forked_child(const char *who); #define ASSERT_IS_NOT_FORKED_CHILD_TRAMPOLINE(x) assert_is_not_forked_child(x) #define ASSERT_IS_NOT_FORKED_CHILD() ASSERT_IS_NOT_FORKED_CHILD_TRAMPOLINE(__FUNCTION__) +/** Macro to help suppress potentially unused variable warnings */ +#define USE(var) (void)(var) + extern "C" { __attribute__((noinline)) void debug_thread_error(void); } |