*** Factor common typedefs into new odp_typedefs.h ***

This patch factors a number of ODP typedefs into a new common odp_typedefs.h
file.  The benefit of this is twofold: It makes the "mainline" ODP include
files implementation-independent, and it avoids circular dependencies that
exist between files trying to reference each other's typedefs.

This patch currently factors out the typedefs for the following files:

- odp_buffer.h
- odp_buffer_pool.h
- odp_packet.h
- odp_packet_io.h

The reason for this limit is to minimize changes and because these files
have the most problems with circular dependencies today, especially with
the upcoming buffer/packet restructure.  Additional typedefs can be moved
into this file in future patches on an as-needed basis.

Bill Fischofer (1):
  Factor ODP typedefs into a common include file

 platform/linux-generic/Makefile.am                 |  1 +
 platform/linux-generic/include/api/odp_buffer.h    |  9 +---
 .../linux-generic/include/api/odp_buffer_pool.h    |  5 +-
 platform/linux-generic/include/api/odp_packet.h    | 30 -----------
 platform/linux-generic/include/api/odp_packet_io.h | 12 +----
 platform/linux-generic/include/api/odp_typedefs.h  | 63 ++++++++++++++++++++++
 6 files changed, 67 insertions(+), 53 deletions(-)
 create mode 100644 platform/linux-generic/include/api/odp_typedefs.h

--
1.8.3.2

_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to