From 202e1828643725d7bebef76c48cbaa28c463cee3 Mon Sep 17 00:00:00 2001 From: hunt Date: Thu, 2 Nov 2006 18:21:53 +0000 Subject: 2006-11-02 Martin Hunt * io.c (_stp_vlog, _stp_dbug): Make first parameter const. * runtime.h: Update prototype for _stp_dbug. --- runtime/runtime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/runtime.h') diff --git a/runtime/runtime.h b/runtime/runtime.h index df7f9f13..d0038903 100644 --- a/runtime/runtime.h +++ b/runtime/runtime.h @@ -43,7 +43,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, ...); +static void _stp_dbug (const 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 -- cgit