summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2011-08-25 15:22:30 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-27 00:45:15 +0200
commit7f3d62b7775c95b8ddfe618f18736163606b3a9c (patch)
tree2e5af3d62d107a941ba50e23484268bdc1510617 /kern
parentd73bc85364ee5a6fcbc329d1065ff352b1b08be7 (diff)
Add prototype for log function
* kern/debug.h (log): New prototype.
Diffstat (limited to 'kern')
-rw-r--r--kern/debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kern/debug.h b/kern/debug.h
index f4e8200..e429bdd 100644
--- a/kern/debug.h
+++ b/kern/debug.h
@@ -57,6 +57,8 @@
#endif /* NDEBUG */
+extern void log (int level, const char *fmt, ...);
+
extern void panic_init(void);
extern void panic (const char *s, ...) __attribute__ ((noreturn));