summary refs log tree commit diff
path: root/src/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/system.h')
-rw-r--r--src/system.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h
index b8853e6..17a9533 100644
--- a/src/system.h
+++ b/src/system.h
@@ -97,3 +97,9 @@ static inline int killpg(pid_t pid, int signal)
 #define _SC_CLK_TCK 2
 long sysconf(int) __attribute__((__noreturn__));
 #endif
+
+/*
+ * A trick to suppress uninitialized variable warning without generating any
+ * code
+ */
+#define uninitialized_var(x) x = x