summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/ChangeLog4
-rw-r--r--runtime/runtime.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/runtime/ChangeLog b/runtime/ChangeLog
index 89df15b4..ec40effc 100644
--- a/runtime/ChangeLog
+++ b/runtime/ChangeLog
@@ -1,3 +1,7 @@
+2005-08-23 Martin Hunt <hunt@redhat.com>
+
+ * runtime.h: Add a prototype for _stp_dbug().
+
2005-08-22 Martin Hunt <hunt@redhat.com>
* runtime.h (kbug): New dbug macros that calls printk.
diff --git a/runtime/runtime.h b/runtime/runtime.h
index 1df196de..44873ee9 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -36,6 +36,7 @@
* @param args A variable number of args in a format like printf.
* @ingroup io
*/
+static void _stp_dbug (char *func, int line, const char *fmt, ...);
#define dbug(args...) _stp_dbug(__FUNCTION__, __LINE__, args)
#define kbug(args...) {printk("%s:%d ",__FUNCTION__, __LINE__); printk(args); }
#else