git: 0424d9ebeb17 - main - decryptcore: do not include sys/sysctl.h

Eric van Gyzen vangyzen at FreeBSD.org
Sun Mar 7 23:30:24 UTC 2021


The branch main has been updated by vangyzen:

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

commit 0424d9ebeb17d669f680c696f0d741b714461b4c
Author:     Eric van Gyzen <vangyzen at FreeBSD.org>
AuthorDate: 2021-03-05 16:38:37 +0000
Commit:     Eric van Gyzen <vangyzen at FreeBSD.org>
CommitDate: 2021-03-07 23:29:03 +0000

    decryptcore: do not include sys/sysctl.h
    
    It's not needed.  Removing it is a small improvement in portability.
    
    Sponsored by:   Dell EMC Isilon
---
 sbin/decryptcore/decryptcore.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sbin/decryptcore/decryptcore.c b/sbin/decryptcore/decryptcore.c
index cc1807b18a80..fc6599fb0ecc 100644
--- a/sbin/decryptcore/decryptcore.c
+++ b/sbin/decryptcore/decryptcore.c
@@ -31,7 +31,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/capsicum.h>
 #include <sys/endian.h>
 #include <sys/kerneldump.h>
-#include <sys/sysctl.h>
 #include <sys/wait.h>
 
 #include <ctype.h>


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