Commit 25021dad authored by winckel's avatar winckel
Browse files

Removed duplicated definition of "instance_t" and its related defines.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4898 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 05b0e289
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#ifndef INTERTASK_INTERFACE_TYPES_H_ #ifndef INTERTASK_INTERFACE_TYPES_H_
#define INTERTASK_INTERFACE_TYPES_H_ #define INTERTASK_INTERFACE_TYPES_H_
#include <stdint.h> #include "itti_types.h"
/* Defines to handle bit fields on unsigned long values */ /* Defines to handle bit fields on unsigned long values */
#define UL_BIT_MASK(lENGTH) ((1UL << (lENGTH)) - 1UL) #define UL_BIT_MASK(lENGTH) ((1UL << (lENGTH)) - 1UL)
...@@ -120,10 +120,6 @@ typedef union msg_s ...@@ -120,10 +120,6 @@ typedef union msg_s
#undef MESSAGE_DEF #undef MESSAGE_DEF
} msg_t; } msg_t;
#define INSTANCE_DEFAULT (UINT16_MAX - 1)
#define INSTANCE_ALL (UINT16_MAX)
typedef uint16_t instance_t;
typedef uint16_t MessageHeaderSize; typedef uint16_t MessageHeaderSize;
typedef struct itti_lte_time_s typedef struct itti_lte_time_s
......
...@@ -36,6 +36,8 @@ ...@@ -36,6 +36,8 @@
#ifndef _ITTI_TYPES_H_ #ifndef _ITTI_TYPES_H_
#define _ITTI_TYPES_H_ #define _ITTI_TYPES_H_
#include <stdint.h>
#define CHARS_TO_UINT32(c1, c2, c3, c4) (((c4) << 24) | ((c3) << 16) | ((c2) << 8) | (c1)) #define CHARS_TO_UINT32(c1, c2, c3, c4) (((c4) << 24) | ((c3) << 16) | ((c2) << 8) | (c1))
#define MESSAGE_NUMBER_CHAR_FORMAT "%11u" #define MESSAGE_NUMBER_CHAR_FORMAT "%11u"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment