Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "JIRA-ID ODUHIGH-275 classification of logs of RLC part -2"
[o-du/l2.git]
/
src
/
5gnrrlc
/
kw_id.c
diff --git
a/src/5gnrrlc/kw_id.c
b/src/5gnrrlc/kw_id.c
index
cdc5c3a
..
a27196d
100755
(executable)
--- a/
src/5gnrrlc/kw_id.c
+++ b/
src/5gnrrlc/kw_id.c
@@
-62,25
+62,25
@@
/* public variable declarations */
#ifdef __cplusplus
/* public variable declarations */
#ifdef __cplusplus
-
EXTERN
"C" {
+
extern
"C" {
#endif /* CPLUSPLUS */
#endif /* CPLUSPLUS */
-
EXTERN
S16 rlcGetSId ARGS((SystemId *s));
+S16 rlcGetSId ARGS((SystemId *s));
#ifdef __cplusplus
}
#endif /* CPLUSPLUS */
/* copyright banner */
#ifdef __cplusplus
}
#endif /* CPLUSPLUS */
/* copyright banner */
-
CONSTANT
Txt rlcBan1[] =
+
const
Txt rlcBan1[] =
{"(c) COPYRIGHT 1989-2002, Trillium Digital Systems, Inc."};
{"(c) COPYRIGHT 1989-2002, Trillium Digital Systems, Inc."};
-
CONSTANT
Txt rlcBan2[] =
+
const
Txt rlcBan2[] =
{" All rights reserved."};
/* system id */
{" 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 */
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 */
)
S16 rlcGetSId
(
SystemId *s /* system id */
)
-#else
-S16 rlcGetSId(s)
-SystemId *s; /* system id */
-#endif
{
s->mVer = sId.mVer;
{
s->mVer = sId.mVer;