[SR-Dev] git:master: tm: missing extern for rpc_cancel_doc[]

Andrei Pelinescu-Onciul andrei at iptel.org
Wed Apr 29 17:35:33 CEST 2009


Module: sip-router
Branch: master
Commit: ea982a3a4dad156143c35e9d1c6f32d3f5f8de9c
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ea982a3a4dad156143c35e9d1c6f32d3f5f8de9c

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Wed Apr 29 17:25:56 2009 +0200

tm: missing extern for rpc_cancel_doc[]

---

 modules/tm/t_cancel.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/tm/t_cancel.h b/modules/tm/t_cancel.h
index 759f4f0..2ae96f2 100644
--- a/modules/tm/t_cancel.h
+++ b/modules/tm/t_cancel.h
@@ -113,7 +113,7 @@ inline short static should_cancel_branch( struct cell *t, int b, int noreply )
 	return 0;
 }
 
-const char* rpc_cancel_doc[2];
+extern const char* rpc_cancel_doc[2];
 void rpc_cancel(rpc_t* rpc, void* c);
 int cancel_b_flags_fixup(void* handle, str* gname, str* name, void** val);
 int cancel_b_flags_get(unsigned int* f, int m);




More information about the sr-dev mailing list