nvmf: move includes from nvmf.h where they're used

Most of the #include statements in nvmf.h aren't part of the public API.

Change-Id: I0d43dd542a28744a91a4fd0c4c806a991d1e194e
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2016-06-08 13:29:15 -07:00 committed by Benjamin Walker
parent db6d1079fd
commit c78d4d0b6c
6 changed files with 10 additions and 7 deletions

View File

@ -31,6 +31,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <stdlib.h>
#include <string.h>
#include "conf.h"

View File

@ -33,6 +33,9 @@
#include <arpa/inet.h>
#include <rte_config.h>
#include <rte_mempool.h>
#include "spdk/log.h"
#include "spdk/conf.h"
#include "nvmf.h"

View File

@ -36,13 +36,6 @@
#include <stdbool.h>
#include <stdint.h>
#include <pthread.h>
#include <rte_config.h>
#include <rte_mempool.h>
#include "spdk/nvmf_spec.h"
#include "spdk/nvme.h"
/**
* \file

View File

@ -31,6 +31,9 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <rte_config.h>
#include <rte_debug.h>
#include "conn.h"
#include "nvmf.h"
#include "rdma.h"

View File

@ -41,6 +41,7 @@
#include <rte_debug.h>
#include <rte_cycles.h>
#include <rte_timer.h>
#include <rte_mempool.h>
#include "conn.h"
#include "rdma.h"

View File

@ -31,6 +31,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <ctype.h>
#include "controller.h"
#include "port.h"
#include "init_grp.h"