- Declared asn1 inlined conversions functions as static to avoid errors at link time
- Forward initial context setup req message to RRC - Updated some data types related to initial context setup request git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4454 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
*\param[in] pointer to the BIT_STRING_t object.
|
||||
*\return the extracted value.
|
||||
*/
|
||||
inline uint8_t BIT_STRING_to_uint8(BIT_STRING_t *asn) {
|
||||
static inline uint8_t BIT_STRING_to_uint8(BIT_STRING_t *asn) {
|
||||
DevCheck ((asn->size == 1), asn->size, 0, 0);
|
||||
|
||||
return asn->buf[0] >> asn->bits_unused;
|
||||
@@ -51,7 +51,7 @@ inline uint8_t BIT_STRING_to_uint8(BIT_STRING_t *asn) {
|
||||
*\param[in] pointer to the BIT_STRING_t object.
|
||||
*\return the extracted value.
|
||||
*/
|
||||
inline uint16_t BIT_STRING_to_uint16(BIT_STRING_t *asn) {
|
||||
static inline uint16_t BIT_STRING_to_uint16(BIT_STRING_t *asn) {
|
||||
uint16_t result = 0;
|
||||
int index = 0;
|
||||
|
||||
@@ -77,7 +77,7 @@ inline uint16_t BIT_STRING_to_uint16(BIT_STRING_t *asn) {
|
||||
*\param[in] pointer to the BIT_STRING_t object.
|
||||
*\return the extracted value.
|
||||
*/
|
||||
inline uint32_t BIT_STRING_to_uint32(BIT_STRING_t *asn) {
|
||||
static inline uint32_t BIT_STRING_to_uint32(BIT_STRING_t *asn) {
|
||||
uint32_t result = 0;
|
||||
int index;
|
||||
int shift;
|
||||
@@ -100,7 +100,7 @@ inline uint32_t BIT_STRING_to_uint32(BIT_STRING_t *asn) {
|
||||
*\param[in] pointer to the BIT_STRING_t object.
|
||||
*\return the extracted value.
|
||||
*/
|
||||
inline uint64_t BIT_STRING_to_uint64(BIT_STRING_t *asn) {
|
||||
static inline uint64_t BIT_STRING_to_uint64(BIT_STRING_t *asn) {
|
||||
uint64_t result = 0;
|
||||
int index;
|
||||
int shift;
|
||||
|
||||
Reference in New Issue
Block a user