X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=inline;f=src%2Fdu_app%2Fdu_sctp.h;h=94e0c0c4fe1f2c5b383d968c49fb85dc6a8e093a;hb=49856df248fd976b4a9882ca4e650fc0bc3e4ee3;hp=8a734fb63797780612866bf85a05ce71474f8508;hpb=ce136a8facf53778e327bead92b0cfe91b566571;p=o-du%2Fl2.git diff --git a/src/du_app/du_sctp.h b/src/du_app/du_sctp.h index 8a734fb63..94e0c0c4f 100644 --- a/src/du_app/du_sctp.h +++ b/src/du_app/du_sctp.h @@ -27,12 +27,12 @@ #define MAX_RETRY 5 /* Global variable declaration */ -uint8_t socket_type; /* Socket type */ -bool nonblocking; /* Blocking/Non-blocking socket */ -bool connUp; /* Is connection up */ -bool pollingState; -CmInetNetAddrLst localAddrLst; -CmInetNetAddrLst remoteAddrLst; +extern uint8_t socket_type; /* Socket type */ +extern bool nonblocking; /* Blocking/Non-blocking socket */ +extern bool connUp; /* Is connection up */ +extern bool pollingState; +extern CmInetNetAddrLst localAddrLst; +extern CmInetNetAddrLst remoteAddrLst; typedef struct { @@ -61,8 +61,8 @@ typedef struct }DuSctpDestCb; /* Global variable declaration */ -DuSctpDestCb f1Params; /* SCTP configurations at DU */ -DuSctpDestCb ricParams; /* SCTP configurations at DU */ +extern DuSctpDestCb f1Params; /* SCTP configurations at DU */ +extern DuSctpDestCb ricParams; /* SCTP configurations at DU */ uint8_t sctpActvInit(Ent entity, Inst inst, Region region, Reason reason);