Module: kamailio
Branch: 5.3
Commit: 023d385299b6b0ec6a894d6a893a7cfb5292c5bd
URL: https://github.com/kamailio/kamailio/commit/023d385299b6b0ec6a894d6a893a7cf…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-03-04T12:27:48+01:00
cdp: global variables declared extern in header file
(cherry picked from commit a88cf96b8ba3358c08e0e210f76320f6d7926b7d)
---
Modified: src/modules/cdp/diameter_peer.h
---
Diff: https://github.com/kamailio/kamailio/commit/023d385299b6b0ec6a894d6a893a7cf…
Patch: https://github.com/kamailio/kamailio/commit/023d385299b6b0ec6a894d6a893a7cf…
---
diff --git a/src/modules/cdp/diameter_peer.h b/src/modules/cdp/diameter_peer.h
index 378a281dd5..f092f74ccc 100644
--- a/src/modules/cdp/diameter_peer.h
+++ b/src/modules/cdp/diameter_peer.h
@@ -65,10 +65,10 @@ typedef struct {
pid_list_t *head,*tail;
} pid_list_head_t;
-pid_t *dp_first_pid; /**< first pid that we started from */
+extern pid_t *dp_first_pid; /**< first pid that we started from */
-pid_list_head_t *pid_list; /**< list of local processes */
-gen_lock_t *pid_list_lock; /**< lock for list of local processes */
+extern pid_list_head_t *pid_list; /**< list of local processes */
+extern gen_lock_t *pid_list_lock; /**< lock for list of local processes */
int diameter_peer_init_str(str config_str);
int diameter_peer_init(char *cfg_filename);