X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_id.c;h=4272896cf24b7b90d9e835462298c15e4a90b82d;hb=65443172dd60a6ea312bd3a15959dbf54ad7f045;hp=5cdad9b32bdeea1a43697a32355eb28291d58d81;hpb=4d45b914f9e94203603d3b9fdbcb1aad361301dd;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_id.c b/src/5gnrrlc/kw_id.c index 5cdad9b32..4272896cf 100755 --- a/src/5gnrrlc/kw_id.c +++ b/src/5gnrrlc/kw_id.c @@ -47,11 +47,11 @@ /* local defines */ -#define KWSWMV 2 /* rlc - main version */ -#define KWSWMR 1 /* rlc - main revision */ -#define KWSWBV 0 /* rlc - branch version */ -#define KWSWBR 5 /* rlc - kw005.201 patch level */ -#define KWSWPN "1000371" /* rlc - part number */ +#define RLCSWMV 2 /* rlc - main version */ +#define RLCSWMR 1 /* rlc - main revision */ +#define RLCSWBV 0 /* rlc - branch version */ +#define RLCSWBR 5 /* rlc - kw005.201 patch level */ +#define RLCSWPN "1000371" /* rlc - part number */ /* local typedefs */ @@ -62,30 +62,30 @@ /* public variable declarations */ #ifdef __cplusplus -EXTERN "C" { +extern "C" { #endif /* CPLUSPLUS */ -EXTERN S16 kwGetSId ARGS((SystemId *s)); +S16 rlcGetSId ARGS((SystemId *s)); #ifdef __cplusplus } #endif /* CPLUSPLUS */ /* copyright banner */ -PUBLIC CONSTANT Txt kwBan1[] = +const Txt rlcBan1[] = {"(c) COPYRIGHT 1989-2002, Trillium Digital Systems, Inc."}; -PUBLIC CONSTANT Txt kwBan2[] = +const Txt rlcBan2[] = {" All rights reserved."}; /* system id */ -PRIVATE CONSTANT SystemId sId ={ - KWSWMV, /* rlc - main version */ - KWSWMR, /* rlc - main revision */ - KWSWBV, /* rlc - branch version */ - KWSWBR, /* rlc - branch revision */ - KWSWPN /* rlc - part number */ +static const SystemId sId ={ + RLCSWMV, /* rlc - main version */ + RLCSWMR, /* rlc - main revision */ + RLCSWBV, /* rlc - branch version */ + RLCSWBR, /* rlc - branch revision */ + RLCSWPN /* rlc - part number */ }; /* @@ -108,16 +108,15 @@ PRIVATE CONSTANT SystemId sId ={ */ #ifdef ANSI -PUBLIC S16 kwGetSId +S16 rlcGetSId ( SystemId *s /* system id */ ) #else -PUBLIC S16 kwGetSId(s) +S16 rlcGetSId(s) SystemId *s; /* system id */ #endif { - TRC2(kwGetSId); s->mVer = sId.mVer; s->mRev = sId.mRev; @@ -127,7 +126,7 @@ SystemId *s; /* system id */ return (TRUE); -} /* end of kwGetSId */ +} /* end of rlcGetSId */ /********************************************************************30**