Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
OpenXG UE
Commits
b31f1ae3
Commit
b31f1ae3
authored
Jun 20, 2020
by
Michael Cook
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix nfapi_str_mode type
parent
3af56d57
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
nfapi/oai_integration/nfapi.c
nfapi/oai_integration/nfapi.c
+2
-2
nfapi/oai_integration/vendor_ext.h
nfapi/oai_integration/vendor_ext.h
+1
-1
No files found.
nfapi/oai_integration/nfapi.c
View file @
b31f1ae3
...
...
@@ -24,7 +24,7 @@
#include "nfapi/oai_integration/vendor_ext.h"
#include "common/utils/LOG/log.h"
static
c
har
nfapi_str_mode
[][
24
]
=
{
static
c
onst
char
*
const
nfapi_str_mode
[
]
=
{
"MONOLITHIC"
,
"PNF"
,
"VNF"
,
...
...
@@ -63,7 +63,7 @@ void set_thread_priority(int priority) {
}
}
char
*
nfapi_get_strmode
(
void
)
{
c
onst
c
har
*
nfapi_get_strmode
(
void
)
{
if
(
nfapi_params
.
nfapi_mode
>
NFAPI_MODE_UNKNOWN
)
return
nfapi_str_mode
[
NFAPI_MODE_UNKNOWN
];
...
...
nfapi/oai_integration/vendor_ext.h
View file @
b31f1ae3
...
...
@@ -74,7 +74,7 @@ typedef enum {
NFAPI_MODE_UNKNOWN
}
nfapi_mode_t
;
char
*
nfapi_get_strmode
(
void
);
c
onst
c
har
*
nfapi_get_strmode
(
void
);
void
nfapi_logmode
(
void
);
nfapi_mode_t
nfapi_getmode
(
void
);
void
nfapi_setmode
(
nfapi_mode_t
nfapi_mode
);
...
...
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