Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
openairinterface-6g
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
openairinterface-6g
Commits
7d90d9b2
Commit
7d90d9b2
authored
Oct 29, 2025
by
Laurent THOMAS
Committed by
Robert Schmidt
Oct 30, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log: make input parameters const
parent
f1136134
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
common/utils/LOG/log.c
common/utils/LOG/log.c
+7
-1
common/utils/LOG/log.h
common/utils/LOG/log.h
+8
-2
No files found.
common/utils/LOG/log.c
View file @
7d90d9b2
...
...
@@ -145,7 +145,13 @@ static const char *const log_level_highlight_end[] =
{
LOG_RESET
,
LOG_RESET
,
LOG_RESET
,
LOG_RESET
,
LOG_RESET
,
LOG_RESET
};
/*!< \brief Optional end-format strings for highlighting */
static
void
log_output_memory
(
log_component_t
*
c
,
const
char
*
file
,
const
char
*
func
,
int
line
,
int
comp
,
int
level
,
const
char
*
format
,
va_list
args
);
int
write_file_matlab
(
const
char
*
fname
,
const
char
*
vname
,
void
*
data
,
int
length
,
int
dec
,
unsigned
int
format
,
int
multiVec
)
int
write_file_matlab
(
const
char
*
fname
,
const
char
*
vname
,
const
void
*
data
,
int
length
,
int
dec
,
unsigned
int
format
,
int
multiVec
)
{
FILE
*
fp
=
NULL
;
int
i
;
...
...
common/utils/LOG/log.h
View file @
7d90d9b2
...
...
@@ -317,7 +317,13 @@ void close_log_mem(void);
#define MATLAB_CSHORT_BRACKET2 14
#define MATLAB_CSHORT_BRACKET3 15
int32_t
write_file_matlab
(
const
char
*
fname
,
const
char
*
vname
,
void
*
data
,
int
length
,
int
dec
,
unsigned
int
format
,
int
multiVec
);
int32_t
write_file_matlab
(
const
char
*
fname
,
const
char
*
vname
,
const
void
*
data
,
int
length
,
int
dec
,
unsigned
int
format
,
int
multiVec
);
#define write_output(a, b, c, d, e, f) write_file_matlab(a, b, c, d, e, f, 0)
/*----------------macro definitions for reading log configuration from the config module */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment