Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
spbro
OpenXG-RAN
Commits
ba5c34c1
Commit
ba5c34c1
authored
Jan 04, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oai_asn1.h: const-correctness/signal input parameter
parent
52bfd463
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
common/utils/oai_asn1.h
common/utils/oai_asn1.h
+4
-4
No files found.
common/utils/oai_asn1.h
View file @
ba5c34c1
...
...
@@ -32,7 +32,7 @@
*\param[in] pointer to the BIT_STRING_t object.
*\return the extracted value.
*/
static
inline
uint8_t
BIT_STRING_to_uint8
(
BIT_STRING_t
*
asn
)
{
static
inline
uint8_t
BIT_STRING_to_uint8
(
const
BIT_STRING_t
*
asn
)
{
DevCheck
((
asn
->
size
==
1
),
asn
->
size
,
0
,
0
);
return
asn
->
buf
[
0
]
>>
asn
->
bits_unused
;
...
...
@@ -43,7 +43,7 @@ static inline uint8_t BIT_STRING_to_uint8(BIT_STRING_t *asn) {
*\param[in] pointer to the BIT_STRING_t object.
*\return the extracted value.
*/
static
inline
uint16_t
BIT_STRING_to_uint16
(
BIT_STRING_t
*
asn
)
{
static
inline
uint16_t
BIT_STRING_to_uint16
(
const
BIT_STRING_t
*
asn
)
{
uint16_t
result
=
0
;
int
index
=
0
;
...
...
@@ -69,7 +69,7 @@ static inline uint16_t BIT_STRING_to_uint16(BIT_STRING_t *asn) {
*\param[in] pointer to the BIT_STRING_t object.
*\return the extracted value.
*/
static
inline
uint32_t
BIT_STRING_to_uint32
(
BIT_STRING_t
*
asn
)
{
static
inline
uint32_t
BIT_STRING_to_uint32
(
const
BIT_STRING_t
*
asn
)
{
uint32_t
result
=
0
;
size_t
index
;
...
...
@@ -91,7 +91,7 @@ static inline uint32_t BIT_STRING_to_uint32(BIT_STRING_t *asn) {
*\param[in] pointer to the BIT_STRING_t object.
*\return the extracted value.
*/
static
inline
uint64_t
BIT_STRING_to_uint64
(
BIT_STRING_t
*
asn
)
{
static
inline
uint64_t
BIT_STRING_to_uint64
(
const
BIT_STRING_t
*
asn
)
{
uint64_t
result
=
0
;
size_t
index
;
int
shift
;
...
...
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