summaryrefslogtreecommitdiff
path: root/libddekit/ddekit/panic.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-02-21 23:37:19 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-02-22 01:45:54 +0000
commit36261f6f0909abc6893c920445b800d81c02c921 (patch)
tree48065ddf055f2b405b75096f3bced16352564650 /libddekit/ddekit/panic.h
parent29d0d8df649036b90c588d1e87f96b72b8342063 (diff)
Clean up includes
To use the standard hurd Makeconf rules and permit external dde_* build
Diffstat (limited to 'libddekit/ddekit/panic.h')
-rw-r--r--libddekit/ddekit/panic.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libddekit/ddekit/panic.h b/libddekit/ddekit/panic.h
new file mode 100644
index 00000000..1468675f
--- /dev/null
+++ b/libddekit/ddekit/panic.h
@@ -0,0 +1,16 @@
+#ifndef _ddekit_panic_h
+#define _ddekit_panic_h
+
+/** \defgroup DDEKit_util */
+
+/** Panic - print error message and enter the kernel debugger.
+ * \ingroup DDEKit_util
+ */
+void ddekit_panic(char *fmt, ...) __attribute__((noreturn));
+
+/** Print a debug message.
+ * \ingroup DDEKit_util
+ */
+void ddekit_debug(char *fmt, ...);
+
+#endif