[sr-dev] git:sr_3.0: Fixed include guard

Henning Westerholt henning.westerholt at 1und1.de
Thu Oct 29 14:18:54 CET 2009


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

Author: Marius Zbihlei <marius.zbihlei at 1and1.ro>
Committer: Henning Westerholt <henning.westerholt at 1und1.de>
Date:   Thu Oct 22 16:14:06 2009 +0300

Fixed include guard
Defined pua_send_* symbols as they where not defined when module was loaded
(cherry picked from commit 3a2477ec529f87a51a6f1c0238ab8c12790b1807)

---

 modules_k/pua_usrloc/pua_usrloc.c |    2 ++
 modules_k/pua_usrloc/pua_usrloc.h |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules_k/pua_usrloc/pua_usrloc.c b/modules_k/pua_usrloc/pua_usrloc.c
index ac5b637..a8bfda7 100644
--- a/modules_k/pua_usrloc/pua_usrloc.c
+++ b/modules_k/pua_usrloc/pua_usrloc.c
@@ -63,6 +63,8 @@ static int mod_init(void);
 
 int pua_set_publish(struct sip_msg* , char*, char*);
 
+send_publish_t pua_send_publish;
+send_subscribe_t pua_send_subscribe;
 
 static cmd_export_t cmds[]=
 {
diff --git a/modules_k/pua_usrloc/pua_usrloc.h b/modules_k/pua_usrloc/pua_usrloc.h
index ba50c75..673b02a 100644
--- a/modules_k/pua_usrloc/pua_usrloc.h
+++ b/modules_k/pua_usrloc/pua_usrloc.h
@@ -23,7 +23,7 @@
  */
 
 #ifndef _PUA_UL_
-#define _PUA_UL
+#define _PUA_UL_
 #include "../pua/pua_bind.h"
 
 extern send_publish_t pua_send_publish;




More information about the sr-dev mailing list