Skip to content

Commit

Permalink
cdp: global variables declared extern in header file
Browse files Browse the repository at this point in the history
(cherry picked from commit a88cf96)
  • Loading branch information
miconda committed Mar 4, 2020
1 parent 15ce49b commit 023d385
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/cdp/diameter_peer.h
Expand Up @@ -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);
Expand Down

0 comments on commit 023d385

Please sign in to comment.