Skip to content

Commit

Permalink
sipcapture: declare extern heptime in hep.c and init it to null
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Mar 3, 2020
1 parent f828441 commit 16bc151
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/sipcapture/hep.c
Expand Up @@ -37,7 +37,7 @@

static int count = 0;

struct hep_timeinfo *heptime;
extern struct hep_timeinfo *heptime;

/* HEPv2 HEPv3 */
int hepv2_received(char *buf, unsigned int len, struct receive_info *ri);
Expand Down
2 changes: 1 addition & 1 deletion src/modules/sipcapture/sipcapture.c
Expand Up @@ -294,7 +294,7 @@ enum hash_source source = hs_error;

//unsigned int rr_idx = 0;

struct hep_timeinfo *heptime;
struct hep_timeinfo *heptime = NULL;

/*! \brief
* Exported functions
Expand Down

0 comments on commit 16bc151

Please sign in to comment.