+/* --- @SOD__NORETURN@ --- *
+ *
+ * Use: Marks functions which are not expected to return.
+ */
+
+#if SOD__GCC_P(2, 5)
+# define SOD__NORETURN __attribute__((__noreturn__))
+#endif
+
+#ifndef SOD__NORETURN
+# define SOD__NORETURN
+#endif
+
+/* --- @SOD__PARANOIA@ --- *
+ *
+ * Arguments: @cond@ = a condition to check
+ * @conseq@ = a thing to evaluate to if the check passes
+ * @alt@ = a thing to do if the check fails
+ *
+ * Use: Check to make sure something is good at runtime, unless
+ * disabled.
+ */
+
+#if SOD_RECKLESS
+# define SOD__PARANOIA(cond, conseq, alt) (conseq)
+#else
+# define SOD__PARANOIA(cond, conseq, alt) ((cond) ? (conseq) : (alt))
+#endif
+