Module: sip-router
Branch: master
Commit: cac710f407cac3fe039f234eae222e221c445b11
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cac710f…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Wed Jun 29 22:29:10 2011 +0200
tm: fix one 'no real prototype' warning, fix the wrong call as well
---
modules/tm/h_table.c | 2 +-
modules/tm/h_table.h | 2 +-
modules/tm/tm.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/tm/h_table.c b/modules/tm/h_table.c
index c82f0b9..991435f 100644
--- a/modules/tm/h_table.c
+++ b/modules/tm/h_table.c
@@ -80,7 +80,7 @@ struct s_table* tm_get_table(void) {
return _tm_table;
}
-void reset_kr() {
+void reset_kr(void) {
kr=0;
}
diff --git a/modules/tm/h_table.h b/modules/tm/h_table.h
index 5025479..905e2dd 100644
--- a/modules/tm/h_table.h
+++ b/modules/tm/h_table.h
@@ -483,7 +483,7 @@ extern struct s_table* _tm_table; /* private internal stuff,
don't touch
#define no_new_branches(_t_) ((_t_)->flags&T_6xx)
-void reset_kr();
+void reset_kr(void);
void set_kr( enum kill_reason kr );
enum kill_reason get_kr();
diff --git a/modules/tm/tm.c b/modules/tm/tm.c
index d9c5258..734f093 100644
--- a/modules/tm/tm.c
+++ b/modules/tm/tm.c
@@ -722,7 +722,7 @@ static int script_init( struct sip_msg *foo, unsigned int flags, void
*bar)
t_on_reply(0);
t_on_branch(0);
/* reset the kr status */
- reset_kr(0);
+ reset_kr();
/* set request mode so that multiple-mode actions know
* how to behave */
set_route_type(REQUEST_ROUTE);