diff mbox series

[05/11] libxcmd: remove unneeded includes

Message ID 1561066174-13144-6-git-send-email-sandeen@redhat.com (mailing list archive)
State New, archived
Headers show
Series xfsprogs: remove unneeded #includes | expand

Commit Message

Eric Sandeen June 20, 2019, 9:29 p.m. UTC
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---
 libxcmd/command.c | 1 -
 libxcmd/help.c    | 1 -
 libxcmd/input.c   | 2 --
 libxcmd/quit.c    | 1 -
 4 files changed, 5 deletions(-)
diff mbox series

Patch

diff --git a/libxcmd/command.c b/libxcmd/command.c
index a76d151..9cb90ec 100644
--- a/libxcmd/command.c
+++ b/libxcmd/command.c
@@ -4,7 +4,6 @@ 
  * All Rights Reserved.
  */
 
-#include "platform_defs.h"
 #include "command.h"
 #include "input.h"
 
diff --git a/libxcmd/help.c b/libxcmd/help.c
index b7e0207..16a114d 100644
--- a/libxcmd/help.c
+++ b/libxcmd/help.c
@@ -6,7 +6,6 @@ 
 
 #include "platform_defs.h"
 #include "command.h"
-#include "../quota/init.h"
 
 static cmdinfo_t help_cmd;
 static void help_onecmd(const char *cmd, const cmdinfo_t *ct);
diff --git a/libxcmd/input.c b/libxcmd/input.c
index d232d4f..d058f2a 100644
--- a/libxcmd/input.c
+++ b/libxcmd/input.c
@@ -4,10 +4,8 @@ 
  * All Rights Reserved.
  */
 
-#include "platform_defs.h"
 #include "input.h"
 #include <ctype.h>
-#include <stdbool.h>
 
 #if defined(ENABLE_READLINE)
 # include <readline/history.h>
diff --git a/libxcmd/quit.c b/libxcmd/quit.c
index 7c2d04f..4014980 100644
--- a/libxcmd/quit.c
+++ b/libxcmd/quit.c
@@ -6,7 +6,6 @@ 
 
 #include "platform_defs.h"
 #include "command.h"
-#include "../quota/init.h"
 
 static cmdinfo_t quit_cmd;