diff mbox

[PATCHv6,3/7] api: buffer: move odp_buffer_pool to odp_buffer.h

Message ID 1418663392-28354-4-git-send-email-taras.kondratiuk@linaro.org
State Accepted
Commit 2fadaf4fef2b309da5c7477a9848737ec43e462e
Headers show

Commit Message

Taras Kondratiuk Dec. 15, 2014, 5:09 p.m. UTC
From: Bill Fischofer <bill.fischofer@linaro.org>

Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
---
 platform/linux-generic/include/api/odp_buffer.h      |  9 +++++++++
 platform/linux-generic/include/api/odp_buffer_pool.h | 10 ----------
 2 files changed, 9 insertions(+), 10 deletions(-)
diff mbox

Patch

diff --git a/platform/linux-generic/include/api/odp_buffer.h b/platform/linux-generic/include/api/odp_buffer.h
index da23120..a7036e8 100644
--- a/platform/linux-generic/include/api/odp_buffer.h
+++ b/platform/linux-generic/include/api/odp_buffer.h
@@ -73,6 +73,15 @@  int odp_buffer_type(odp_buffer_t buf);
 int odp_buffer_is_valid(odp_buffer_t buf);
 
 /**
+ * Buffer pool of the buffer
+ *
+ * @param buf       Buffer handle
+ *
+ * @return Handle of buffer pool buffer belongs to
+ */
+odp_buffer_pool_t odp_buffer_pool(odp_buffer_t buf);
+
+/**
  * Print buffer metadata to STDOUT
  *
  * @param buf      Buffer handle
diff --git a/platform/linux-generic/include/api/odp_buffer_pool.h b/platform/linux-generic/include/api/odp_buffer_pool.h
index c12d718..b287f79 100644
--- a/platform/linux-generic/include/api/odp_buffer_pool.h
+++ b/platform/linux-generic/include/api/odp_buffer_pool.h
@@ -88,16 +88,6 @@  odp_buffer_t odp_buffer_alloc(odp_buffer_pool_t pool);
  */
 void odp_buffer_free(odp_buffer_t buf);
 
-
-/**
- * Buffer pool of the buffer
- *
- * @param buf       Buffer handle
- *
- * @return Buffer pool the buffer was allocated from
- */
-odp_buffer_pool_t odp_buffer_pool(odp_buffer_t buf);
-
 /**
  * @}
  */