]> git.droids-corp.org - dpdk.git/commitdiff
cmdline: remove unneeded header includes
authorSean Morrissey <sean.morrissey@intel.com>
Mon, 20 Jun 2022 10:40:17 +0000 (10:40 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 21 Jun 2022 14:46:56 +0000 (16:46 +0200)
These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
lib/cmdline/cmdline_cirbuf.h
lib/cmdline/cmdline_parse_num.c
lib/cmdline/cmdline_socket.c
lib/cmdline/cmdline_socket.h

index c23b211ad4058dc4ed977bb3d5321d60426e52a9..8e571462ca5c4e3a4e6ad7d43bbbe8f06fab05ee 100644 (file)
@@ -7,8 +7,6 @@
 #ifndef _CIRBUF_H_
 #define _CIRBUF_H_
 
-#include <rte_config.h>
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index b37dd94ae95fbe876433ece5bedbd7a45a4e4165..820af071fb14932c880ff6387921f977e3743b26 100644 (file)
@@ -7,10 +7,7 @@
 #include <stdio.h>
 #include <stdint.h>
 #include <inttypes.h>
-#include <ctype.h>
 #include <string.h>
-#include <stdarg.h>
-#include <errno.h>
 #include <rte_string_fns.h>
 
 #include "cmdline_parse.h"
index ebd5343754544ba038df8d719cde331ab1da4556..78fb67c4745261ff0740ff4d569e68af45fd6e31 100644 (file)
@@ -5,11 +5,7 @@
  */
 
 #include <stdio.h>
-#include <string.h>
 #include <unistd.h>
-#include <stdlib.h>
-#include <stdarg.h>
-#include <inttypes.h>
 #include <fcntl.h>
 
 #include "cmdline.h"
index 80542e559990993be9afc7ddc90317cf92d37ad0..a9c4ea26adcc3965718c0784fae5fddf739bd5c0 100644 (file)
@@ -8,7 +8,6 @@
 #define _CMDLINE_SOCKET_H_
 
 #include <cmdline_parse.h>
-#include <cmdline.h>
 
 #ifdef __cplusplus
 extern "C" {