X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_id.c;h=a27196d312c69d7c644d58187cf89cf34fab8149;hb=a5c3f55c615bff6a466e8273084757e8d339689e;hp=45f5f83a790a43115ea608d7523a99554b36d062;hpb=0a26c487f1b6bbb5217e47b15fa8273b2e749283;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_id.c b/src/5gnrrlc/kw_id.c index 45f5f83a7..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,17 +107,11 @@ PRIVATE CONSTANT SystemId sId ={ * */ -#ifdef ANSI S16 rlcGetSId ( SystemId *s /* system id */ ) -#else -S16 rlcGetSId(s) -SystemId *s; /* system id */ -#endif { - TRC2(rlcGetSId); s->mVer = sId.mVer; s->mRev = sId.mRev;