aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-05-01 16:44:37 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-05-01 16:44:37 -0700
commit186b0f62ebf34a446730d45a0a27a51be335df24 (patch)
tree4ef2adef01363264cc00ed923455b192a20589a1 /common.h
parent60c8012e9e8472330e6c77aa5755e4ec1ebb6a1a (diff)
Early implementation of inotify-based universal variable notifier for
Linux
Diffstat (limited to 'common.h')
-rw-r--r--common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.h b/common.h
index b22720b0..8e794acb 100644
--- a/common.h
+++ b/common.h
@@ -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);
}