[v4,01/14] cmdline: remove unneeded header includes
Checks
Commit Message
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 | 1 -
lib/cmdline/cmdline_parse_num.c | 3 ---
lib/cmdline/cmdline_socket.c | 4 ----
lib/cmdline/cmdline_socket.h | 1 -
4 files changed, 9 deletions(-)
@@ -7,7 +7,6 @@
#ifndef _CIRBUF_H_
#define _CIRBUF_H_
-#include <rte_config.h>
#ifdef __cplusplus
extern "C" {
@@ -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"
@@ -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"
@@ -8,7 +8,6 @@
#define _CMDLINE_SOCKET_H_
#include <cmdline_parse.h>
-#include <cmdline.h>
#ifdef __cplusplus
extern "C" {