diff options
| author | Dmitry Kozlyuk <[email protected]> | 2022-08-27 14:32:22 +0300 |
|---|---|---|
| committer | David Marchand <[email protected]> | 2022-09-21 15:31:03 +0200 |
| commit | 72b452c5f2599f970f47fd17d3e8e5d60bfebe7a (patch) | |
| tree | ccc401e854f73d8864644b3e5e33fa2a253ce1f7 /lib/graph | |
| parent | 347623c9c7cd4ff95c9e734d743e4247e5aaa01a (diff) | |
eal: remove unneeded includes from a public header
Do not include <ctype.h>, <errno.h>, and <stdlib.h> from <rte_common.h>,
because they are not used by this file.
Include the needed headers directly from the files that need them.
Signed-off-by: Dmitry Kozlyuk <[email protected]>
Acked-by: Bruce Richardson <[email protected]>
Diffstat (limited to 'lib/graph')
| -rw-r--r-- | lib/graph/graph.c | 1 | ||||
| -rw-r--r-- | lib/graph/graph_ops.c | 1 | ||||
| -rw-r--r-- | lib/graph/graph_stats.c | 1 | ||||
| -rw-r--r-- | lib/graph/node.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/lib/graph/graph.c b/lib/graph/graph.c index d61288647c..3a617cc369 100644 --- a/lib/graph/graph.c +++ b/lib/graph/graph.c @@ -4,6 +4,7 @@ #include <fnmatch.h> #include <stdbool.h> +#include <stdlib.h> #include <rte_common.h> #include <rte_debug.h> diff --git a/lib/graph/graph_ops.c b/lib/graph/graph_ops.c index 20db58d84e..a3548ec804 100644 --- a/lib/graph/graph_ops.c +++ b/lib/graph/graph_ops.c @@ -3,6 +3,7 @@ */ #include <stdbool.h> +#include <stdlib.h> #include <string.h> #include <rte_errno.h> diff --git a/lib/graph/graph_stats.c b/lib/graph/graph_stats.c index 65e12d46a3..c0140ba922 100644 --- a/lib/graph/graph_stats.c +++ b/lib/graph/graph_stats.c @@ -4,6 +4,7 @@ #include <fnmatch.h> #include <stdbool.h> +#include <stdlib.h> #include <rte_common.h> #include <rte_errno.h> diff --git a/lib/graph/node.c b/lib/graph/node.c index ae6eadb260..fc6345de07 100644 --- a/lib/graph/node.c +++ b/lib/graph/node.c @@ -4,6 +4,7 @@ #include <stdbool.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <rte_common.h> |
