From patchwork Wed Mar 2 23:52:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Sune X-Patchwork-Id: 11005 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 31B2E29C7; Thu, 3 Mar 2016 00:52:10 +0100 (CET) Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id 0DB562956 for ; Thu, 3 Mar 2016 00:52:09 +0100 (CET) Received: by mail-wm0-f53.google.com with SMTP id n186so108998756wmn.1 for ; Wed, 02 Mar 2016 15:52:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=qevfR0uiAS/GAjNgrkLmqD5yoBcXVAmoCeV91OgSyb8=; b=nDz/mpSraKVXgQcPStOb1NNjRivtp67BqZRT1CDkyhlZG1SNJcSjrPMU3r0eQvHvPS 86LSVZhnQ3LKZYLiypsY9N3O+mLhNYv00CRtDi9C23REdw7M3dH5U5Wm8HlXcD++k3G1 kIEJr5q4i54p5gcTK+41WuText5iocmGbgvZtk2qXD5O76lEItIe08V0nKBw9ddGdN2u l4YfsW/DEaKx2ot5wCBdBCsc/hSExtKOBGNtzudqC7OE69h/uMRMpROQSjypvGQwf6Ij K1FjrP+Ehv0Fit6D+XLfHYlN165Ide/IGBf1rptGX20JVU9k58/Iyyji96XRWfwOkPRM nOAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=qevfR0uiAS/GAjNgrkLmqD5yoBcXVAmoCeV91OgSyb8=; b=Kq8bTXAJE2L1tTjjdaKzcimSuzx0s21VgdJLWAHll01aoPSS/rB5qEou9D01Hh0Hh1 KU8CbbYSaCyh0VH2Bar4iILwv/eklVkUaDjWfZF+cd7DgmHr/oTR/nyALwBGEZRfdOWq g3LnCWMIOOuLA7wqLl+qryrBrhmE7RewXFQJI4RVglIKa0r2sf0CQ1MT7YUhWPi9pVlD /5pIA0gfIExS6zG2H0aLSxvhnwyT2v0/lZBk0JPil3bQodpVVaqqYg7WFwZ72mKxBenl iZBlIxwTMaFjAGhjkAcUZsq6LJYrRR1MGbAh01XS6MBesP5Au38Q1eRD+lEB6UuuS0JV vqVg== X-Gm-Message-State: AD7BkJIPpGkAfi4ZqUjpDXjSZ0Bw62TCtCZbEvfYD3eAagUhhQeOWPhCvu7cL0Gu/bkaug== X-Received: by 10.28.213.142 with SMTP id m136mr110676wmg.24.1456962728856; Wed, 02 Mar 2016 15:52:08 -0800 (PST) Received: from localhost.localdomain (182.Red-81-37-213.dynamicIP.rima-tde.net. [81.37.213.182]) by smtp.gmail.com with ESMTPSA id b1sm37935892wjy.0.2016.03.02.15.52.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Mar 2016 15:52:08 -0800 (PST) From: Marc Sune To: dev@dpdk.org Date: Thu, 3 Mar 2016 00:52:02 +0100 Message-Id: <1456962722-1326-1-git-send-email-marcdevel@gmail.com> X-Mailer: git-send-email 2.1.4 Subject: [dpdk-dev] [PATCH] cmdline: include missing cmdline_parse.h X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" cmdline_parse_*.h headers use struct cmdline_token_hdr / cmdline_parse_token_hdr_t which is defined in cmdline_parse.h, but do not include it, forcing manual inclusion. This commit includes cmdline_parse.h in all cmdline_parse_*.h. Acked-by: Olivier Matz --- lib/librte_cmdline/cmdline_parse_etheraddr.h | 2 ++ lib/librte_cmdline/cmdline_parse_ipaddr.h | 1 + lib/librte_cmdline/cmdline_parse_num.h | 2 ++ lib/librte_cmdline/cmdline_parse_portlist.h | 2 ++ lib/librte_cmdline/cmdline_parse_string.h | 2 ++ 5 files changed, 9 insertions(+) diff --git a/lib/librte_cmdline/cmdline_parse_etheraddr.h b/lib/librte_cmdline/cmdline_parse_etheraddr.h index 0085bb3..e539fb6 100644 --- a/lib/librte_cmdline/cmdline_parse_etheraddr.h +++ b/lib/librte_cmdline/cmdline_parse_etheraddr.h @@ -61,6 +61,8 @@ #ifndef _PARSE_ETHERADDR_H_ #define _PARSE_ETHERADDR_H_ +#include + #ifdef __cplusplus extern "C" { #endif diff --git a/lib/librte_cmdline/cmdline_parse_ipaddr.h b/lib/librte_cmdline/cmdline_parse_ipaddr.h index 46c6e1b..2b4266f 100644 --- a/lib/librte_cmdline/cmdline_parse_ipaddr.h +++ b/lib/librte_cmdline/cmdline_parse_ipaddr.h @@ -61,6 +61,7 @@ #ifndef _PARSE_IPADDR_H_ #define _PARSE_IPADDR_H_ +#include #include #ifdef __cplusplus diff --git a/lib/librte_cmdline/cmdline_parse_num.h b/lib/librte_cmdline/cmdline_parse_num.h index 5376806..2558cbf 100644 --- a/lib/librte_cmdline/cmdline_parse_num.h +++ b/lib/librte_cmdline/cmdline_parse_num.h @@ -61,6 +61,8 @@ #ifndef _PARSE_NUM_H_ #define _PARSE_NUM_H_ +#include + #ifdef __cplusplus extern "C" { #endif diff --git a/lib/librte_cmdline/cmdline_parse_portlist.h b/lib/librte_cmdline/cmdline_parse_portlist.h index 8505059..73d70e0 100644 --- a/lib/librte_cmdline/cmdline_parse_portlist.h +++ b/lib/librte_cmdline/cmdline_parse_portlist.h @@ -61,6 +61,8 @@ #ifndef _PARSE_PORTLIST_H_ #define _PARSE_PORTLIST_H_ +#include + #ifdef __cplusplus extern "C" { #endif diff --git a/lib/librte_cmdline/cmdline_parse_string.h b/lib/librte_cmdline/cmdline_parse_string.h index c205622..94aa1f1 100644 --- a/lib/librte_cmdline/cmdline_parse_string.h +++ b/lib/librte_cmdline/cmdline_parse_string.h @@ -61,6 +61,8 @@ #ifndef _PARSE_STRING_H_ #define _PARSE_STRING_H_ +#include + #ifdef __cplusplus extern "C" { #endif