summaryrefslogtreecommitdiffstats
path: root/runtime/runtime.h
diff options
context:
space:
mode:
authorhunt <hunt>2006-11-02 18:21:53 +0000
committerhunt <hunt>2006-11-02 18:21:53 +0000
commit202e1828643725d7bebef76c48cbaa28c463cee3 (patch)
treec3a49bb5393be317981d363b2cc9818ff5668ed2 /runtime/runtime.h
parentea3f75ae405de85514beb3e560abdef6b61c4bbe (diff)
downloadsystemtap-steved-202e1828643725d7bebef76c48cbaa28c463cee3.tar.gz
systemtap-steved-202e1828643725d7bebef76c48cbaa28c463cee3.tar.xz
systemtap-steved-202e1828643725d7bebef76c48cbaa28c463cee3.zip
2006-11-02 Martin Hunt <hunt@redhat.com>
* io.c (_stp_vlog, _stp_dbug): Make first parameter const. * runtime.h: Update prototype for _stp_dbug.
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r--runtime/runtime.h2
1 files changed, 1 insertions, 1 deletions
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