Module: sip-router
Branch: master
Commit: 3a2477ec529f87a51a6f1c0238ab8c12790b1807
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3a2477e…
Author: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
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
---
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;