diff mbox

[2/5] linux-generic: classification: Remove typedef forward declarations

Message ID 1423051213-20795-3-git-send-email-taras.kondratiuk@linaro.org
State New
Headers show

Commit Message

Taras Kondratiuk Feb. 4, 2015, noon UTC
Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
---
 platform/linux-generic/include/odp_classification_datamodel.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
diff mbox

Patch

diff --git a/platform/linux-generic/include/odp_classification_datamodel.h b/platform/linux-generic/include/odp_classification_datamodel.h
index 3b42e99..1b11a7b 100644
--- a/platform/linux-generic/include/odp_classification_datamodel.h
+++ b/platform/linux-generic/include/odp_classification_datamodel.h
@@ -47,8 +47,6 @@  extern "C" {
 /* Max PMR Term bits */
 #define ODP_PMR_TERM_BYTES_MAX		8
 
-/* forward declaration */
-typedef union pmr_u pmr_t;
 
 /**
 Packet Matching Rule Term Value
@@ -71,15 +69,17 @@  typedef struct pmr_term_value {
 	};
 } pmr_term_value_t;
 
-typedef union cos_u cos_t;
+/* forward declaration */
+union cos_u;
+union pmr_u;
 /*
 Class Of Service
 */
 struct cos_s {
 	queue_entry_t *queue;		/* Associated Queue */
 	pool_entry_t *pool;		/* Associated Buffer pool */
-	pmr_t *pmr;			/* Chained PMR */
-	cos_t *linked_cos;		/* CoS linked with the PMR */
+	union pmr_u *pmr;		/* Chained PMR */
+	union cos_u *linked_cos;	/* CoS linked with the PMR */
 	uint32_t valid;			/* validity Flag */
 	odp_drop_e drop_policy;		/* Associated Drop Policy */
 	odp_queue_group_t queue_group;	/* Associated Queue Group */