X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_id.c;h=a27196d312c69d7c644d58187cf89cf34fab8149;hb=2b5e7ba18453db526316b51476673c1ea69c1a94;hp=cdc5c3a67573876d949ac63d3722fea16facab91;hpb=694adde1a08c393a8443fd5bbd4f036f5cf85403;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_id.c b/src/5gnrrlc/kw_id.c index cdc5c3a67..a27196d31 100755 --- a/src/5gnrrlc/kw_id.c +++ b/src/5gnrrlc/kw_id.c @@ -62,25 +62,25 @@ /* public variable declarations */ #ifdef __cplusplus -EXTERN "C" { +extern "C" { #endif /* CPLUSPLUS */ -EXTERN S16 rlcGetSId ARGS((SystemId *s)); +S16 rlcGetSId ARGS((SystemId *s)); #ifdef __cplusplus } #endif /* CPLUSPLUS */ /* copyright banner */ -CONSTANT Txt rlcBan1[] = +const Txt rlcBan1[] = {"(c) COPYRIGHT 1989-2002, Trillium Digital Systems, Inc."}; -CONSTANT Txt rlcBan2[] = +const Txt rlcBan2[] = {" All rights reserved."}; /* system id */ -PRIVATE CONSTANT SystemId sId ={ +static const SystemId sId ={ RLCSWMV, /* rlc - main version */ RLCSWMR, /* rlc - main revision */ RLCSWBV, /* rlc - branch version */ @@ -107,15 +107,10 @@ PRIVATE CONSTANT SystemId sId ={ * */ -#ifdef ANSI S16 rlcGetSId ( SystemId *s /* system id */ ) -#else -S16 rlcGetSId(s) -SystemId *s; /* system id */ -#endif { s->mVer = sId.mVer;