changeset 382:8fdd47ce352a

Fix compilation errors
author Sebastien Decugis <sdecugis@nict.go.jp>
date Tue, 26 May 2009 17:19:43 +0900
parents 3591d0486a2c
children 88e170a79627
files extensions/rt_any/rt_any.c extensions/rt_debug/rt_debug.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/extensions/rt_any/rt_any.c	Tue May 26 17:17:05 2009 +0900
+++ b/extensions/rt_any/rt_any.c	Tue May 26 17:19:43 2009 +0900
@@ -40,8 +40,11 @@
 
 #define IN_EXTENSION
 #define DECLARE_API_POINTERS
+#define DEFINE_DEBUG_MACRO	rt_any
 #include <waaad/waaad.h>
 
+static int rt_any_verbosity = 1;
+
 /* give positive score to all messages */
 static int cb_any_out(void * data, msg_t * msg, rt_dpl_t * list )
 {
--- a/extensions/rt_debug/rt_debug.c	Tue May 26 17:17:05 2009 +0900
+++ b/extensions/rt_debug/rt_debug.c	Tue May 26 17:19:43 2009 +0900
@@ -40,6 +40,7 @@
 
 #define IN_EXTENSION
 #define DECLARE_API_POINTERS
+#define DEFINE_DEBUG_MACRO	rt_debug
 #include <waaad/waaad.h>
 
 #include <stdio.h>
@@ -49,6 +50,8 @@
 #define DUMP_CMDFL_str	"%c%c%c%c"
 #define DUMP_CMDFL_val(_val) (_val & CMD_FLAG_REQUEST)?'R':'-' , (_val & CMD_FLAG_PROXIABLE)?'P':'-' , (_val & CMD_FLAG_ERROR)?'E':'-' , (_val & CMD_FLAG_RETRANSMIT)?'T':'-'
 
+static int rt_debug_verbosity = 1;
+
 static rt_out_hdl_t * norm = NULL;
 static rt_out_hdl_t * late = NULL;
 static rt_fwd_hdl_t * req = NULL;
"Welcome to our mercurial repository"