diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-02-21 23:37:19 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-02-22 01:45:54 +0000 |
commit | 36261f6f0909abc6893c920445b800d81c02c921 (patch) | |
tree | 48065ddf055f2b405b75096f3bced16352564650 /libddekit/ddekit/panic.h | |
parent | 29d0d8df649036b90c588d1e87f96b72b8342063 (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.h | 16 |
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 |