diff mbox series

[fsverity-utils,v4,1/2] Remove unneeded includes

Message ID 20201217192516.3683371-1-luca.boccassi@gmail.com (mailing list archive)
State Accepted
Headers show
Series [fsverity-utils,v4,1/2] Remove unneeded includes | expand

Commit Message

Luca Boccassi Dec. 17, 2020, 7:25 p.m. UTC
From: Luca Boccassi <luca.boccassi@microsoft.com>

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
---
v2: do not remove includes from fsverity_uapi.h, actually needed

 programs/cmd_enable.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Eric Biggers Dec. 21, 2020, 9:32 p.m. UTC | #1
On Thu, Dec 17, 2020 at 07:25:15PM +0000, luca.boccassi@gmail.com wrote:
> From: Luca Boccassi <luca.boccassi@microsoft.com>
> 
> Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
> ---
> v2: do not remove includes from fsverity_uapi.h, actually needed
> 
>  programs/cmd_enable.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/programs/cmd_enable.c b/programs/cmd_enable.c
> index fdf26c7..14c3c17 100644
> --- a/programs/cmd_enable.c
> +++ b/programs/cmd_enable.c
> @@ -14,7 +14,6 @@
>  #include <fcntl.h>
>  #include <getopt.h>
>  #include <limits.h>
> -#include <sys/ioctl.h>
>  
>  static bool read_signature(const char *filename, u8 **sig_ret,
>  			   u32 *sig_size_ret)

Applied with s/includes/include/.

- Eric
diff mbox series

Patch

diff --git a/programs/cmd_enable.c b/programs/cmd_enable.c
index fdf26c7..14c3c17 100644
--- a/programs/cmd_enable.c
+++ b/programs/cmd_enable.c
@@ -14,7 +14,6 @@ 
 #include <fcntl.h>
 #include <getopt.h>
 #include <limits.h>
-#include <sys/ioctl.h>
 
 static bool read_signature(const char *filename, u8 **sig_ret,
 			   u32 *sig_size_ret)