Skip to content

Commit

Permalink
Fix more gcc 10 compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuchircu authored and razvancrainea committed Feb 11, 2020
1 parent 9cfea95 commit d3fb5ca
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions lib/reg/sip_msg.h
Expand Up @@ -34,6 +34,8 @@
#define CONTACT_MAX_SIZE 255
#define RECEIVED_MAX_SIZE 255

extern char tgruu_dec[];

/*! \brief
* Parse the whole message and bodies of all header fields
* that will be needed by registrar
Expand Down
1 change: 0 additions & 1 deletion modules/mid_registrar/gruu.c
Expand Up @@ -43,7 +43,6 @@
#define MAX_TGRUU_SIZE 255
#define GR_MAGIC 73
str default_gruu_secret=str_init("0p3nS1pS");
char tgruu_dec[MAX_TGRUU_SIZE];

int calc_temp_gruu_len(str* aor,str* instance,str *callid)
{
Expand Down
1 change: 0 additions & 1 deletion modules/mid_registrar/gruu.h
Expand Up @@ -49,7 +49,6 @@
#define GR_NO_VAL ";gr"
#define GR_NO_VAL_SIZE (sizeof(GR_NO_VAL) - 1)

extern char tgruu_dec[];
extern str default_gruu_secret;

int calc_temp_gruu_len(str* aor,str* instance,str *callid);
Expand Down
2 changes: 1 addition & 1 deletion modules/presence/clustering.h
Expand Up @@ -26,7 +26,7 @@
#include "../clusterer/api.h"
#include "presentity.h"

enum federation_mode {
typedef enum federation_mode {
FEDERATION_DISABLED,
FEDERATION_ON_DEMAND,
FEDERATION_FULL_SHARING
Expand Down

0 comments on commit d3fb5ca

Please sign in to comment.