[sr-dev] git:master:7afe5b98: pua_reginfo: extern declaration of global vars in header file

Daniel-Constantin Mierla miconda at gmail.com
Sun Mar 8 20:25:15 CET 2020


Module: kamailio
Branch: master
Commit: 7afe5b9837d38cd77f75c3028c9134673c95404e
URL: https://github.com/kamailio/kamailio/commit/7afe5b9837d38cd77f75c3028c9134673c95404e

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-03-08T20:25:00+01:00

pua_reginfo: extern declaration of global vars in header file

---

Modified: src/modules/pua_reginfo/pua_reginfo.h

---

Diff:  https://github.com/kamailio/kamailio/commit/7afe5b9837d38cd77f75c3028c9134673c95404e.diff
Patch: https://github.com/kamailio/kamailio/commit/7afe5b9837d38cd77f75c3028c9134673c95404e.patch

---

diff --git a/src/modules/pua_reginfo/pua_reginfo.h b/src/modules/pua_reginfo/pua_reginfo.h
index a15b7e47a8..133191541b 100644
--- a/src/modules/pua_reginfo/pua_reginfo.h
+++ b/src/modules/pua_reginfo/pua_reginfo.h
@@ -16,8 +16,8 @@
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License 
- * along with this program; if not, write to the Free Software 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
@@ -27,9 +27,9 @@
 #include "../pua/pua_bind.h"
 #include "../usrloc/usrloc.h"
 
-str default_domain;
-str outbound_proxy;
-str server_address;
+extern str default_domain;
+extern str outbound_proxy;
+extern str server_address;
 
 extern usrloc_api_t ul; /*!< Structure containing pointers to usrloc functions*/
 extern pua_api_t pua; /*!< Structure containing pointers to PUA functions*/




More information about the sr-dev mailing list