Module: kamailio Branch: master Commit: a88cf96b8ba3358c08e0e210f76320f6d7926b7d URL: https://github.com/kamailio/kamailio/commit/a88cf96b8ba3358c08e0e210f76320f6...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2020-03-03T10:34:02+01:00
cdp: global variables declared extern in header file
---
Modified: src/modules/cdp/diameter_peer.h
---
Diff: https://github.com/kamailio/kamailio/commit/a88cf96b8ba3358c08e0e210f76320f6... Patch: https://github.com/kamailio/kamailio/commit/a88cf96b8ba3358c08e0e210f76320f6...
---
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);