git: b26ad614434b - bin/setfacl: Remove unused headers.

Xin LI delphij at FreeBSD.org
Sat Dec 26 01:37:29 UTC 2020


The branch stable/12 has been updated by delphij:

URL: https://cgit.FreeBSD.org/src/commit/?id=b26ad614434baac7a4b5e34710cf2eda534a9a01

commit b26ad614434baac7a4b5e34710cf2eda534a9a01
Author:     Xin LI <delphij at FreeBSD.org>
AuthorDate: 2020-12-12 02:26:43 +0000
Commit:     Xin LI <delphij at FreeBSD.org>
CommitDate: 2020-12-26 01:37:16 +0000

    bin/setfacl: Remove unused headers.
    
    (cherry picked from commit dd1ce6c7f19ad7ccd2eb9be78655238ae1b4ea5e)
---
 bin/setfacl/mask.c   | 3 ---
 bin/setfacl/merge.c  | 1 -
 bin/setfacl/remove.c | 2 --
 bin/setfacl/util.c   | 1 -
 4 files changed, 7 deletions(-)

diff --git a/bin/setfacl/mask.c b/bin/setfacl/mask.c
index 69ca52a2f2db..4dd85f039d0f 100644
--- a/bin/setfacl/mask.c
+++ b/bin/setfacl/mask.c
@@ -32,9 +32,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/stat.h>
 
 #include <err.h>
-#include <errno.h>
-#include <stdio.h>
-#include <stdlib.h>
 
 #include "setfacl.h"
 
diff --git a/bin/setfacl/merge.c b/bin/setfacl/merge.c
index fe519dd3bff0..604e6fb693c2 100644
--- a/bin/setfacl/merge.c
+++ b/bin/setfacl/merge.c
@@ -32,7 +32,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/stat.h>
 
 #include <err.h>
-#include <stdio.h>
 
 #include "setfacl.h"
 
diff --git a/bin/setfacl/remove.c b/bin/setfacl/remove.c
index 545562ac007e..9c86096da41d 100644
--- a/bin/setfacl/remove.c
+++ b/bin/setfacl/remove.c
@@ -32,8 +32,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/stat.h>
 
 #include <err.h>
-#include <stdio.h>
-#include <string.h>
 
 #include "setfacl.h"
 
diff --git a/bin/setfacl/util.c b/bin/setfacl/util.c
index 969ce3286852..8a78259c1ae7 100644
--- a/bin/setfacl/util.c
+++ b/bin/setfacl/util.c
@@ -29,7 +29,6 @@ __FBSDID("$FreeBSD$");
 
 #include <err.h>
 #include <stdlib.h>
-#include <string.h>
 
 #include "setfacl.h"
 


More information about the dev-commits-src-all mailing list