svn commit: r288704 - stable/10/usr.sbin/ctld

Alexander Motin mav at FreeBSD.org
Mon Oct 5 07:42:08 UTC 2015


Author: mav
Date: Mon Oct  5 07:42:05 2015
New Revision: 288704
URL: https://svnweb.freebsd.org/changeset/base/288704

Log:
  MFC r281532 (by delphij): Eliminate unused headers.

Modified:
  stable/10/usr.sbin/ctld/discovery.c
  stable/10/usr.sbin/ctld/isns.c
  stable/10/usr.sbin/ctld/keys.c
  stable/10/usr.sbin/ctld/login.c
  stable/10/usr.sbin/ctld/parse.y
  stable/10/usr.sbin/ctld/pdu.c
  stable/10/usr.sbin/ctld/token.l
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/ctld/discovery.c
==============================================================================
--- stable/10/usr.sbin/ctld/discovery.c	Mon Oct  5 07:41:12 2015	(r288703)
+++ stable/10/usr.sbin/ctld/discovery.c	Mon Oct  5 07:42:05 2015	(r288704)
@@ -32,7 +32,6 @@
 __FBSDID("$FreeBSD$");
 
 #include <assert.h>
-#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

Modified: stable/10/usr.sbin/ctld/isns.c
==============================================================================
--- stable/10/usr.sbin/ctld/isns.c	Mon Oct  5 07:41:12 2015	(r288703)
+++ stable/10/usr.sbin/ctld/isns.c	Mon Oct  5 07:42:05 2015	(r288704)
@@ -35,14 +35,8 @@ __FBSDID("$FreeBSD$");
 #include <sys/endian.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
-#include <assert.h>
-#include <ctype.h>
-#include <errno.h>
 #include <netdb.h>
-#include <signal.h>
 #include <stdbool.h>
-#include <stdio.h>
-#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>

Modified: stable/10/usr.sbin/ctld/keys.c
==============================================================================
--- stable/10/usr.sbin/ctld/keys.c	Mon Oct  5 07:41:12 2015	(r288703)
+++ stable/10/usr.sbin/ctld/keys.c	Mon Oct  5 07:42:05 2015	(r288704)
@@ -32,7 +32,6 @@
 __FBSDID("$FreeBSD$");
 
 #include <assert.h>
-#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

Modified: stable/10/usr.sbin/ctld/login.c
==============================================================================
--- stable/10/usr.sbin/ctld/login.c	Mon Oct  5 07:41:12 2015	(r288703)
+++ stable/10/usr.sbin/ctld/login.c	Mon Oct  5 07:42:05 2015	(r288704)
@@ -33,8 +33,6 @@ __FBSDID("$FreeBSD$");
 
 #include <assert.h>
 #include <stdbool.h>
-#include <stdint.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>

Modified: stable/10/usr.sbin/ctld/parse.y
==============================================================================
--- stable/10/usr.sbin/ctld/parse.y	Mon Oct  5 07:41:12 2015	(r288703)
+++ stable/10/usr.sbin/ctld/parse.y	Mon Oct  5 07:42:05 2015	(r288704)
@@ -35,7 +35,6 @@
 #include <sys/stat.h>
 #include <assert.h>
 #include <stdio.h>
-#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 

Modified: stable/10/usr.sbin/ctld/pdu.c
==============================================================================
--- stable/10/usr.sbin/ctld/pdu.c	Mon Oct  5 07:41:12 2015	(r288703)
+++ stable/10/usr.sbin/ctld/pdu.c	Mon Oct  5 07:42:05 2015	(r288704)
@@ -34,8 +34,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/types.h>
 #include <sys/uio.h>
 #include <assert.h>
-#include <stdint.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 

Modified: stable/10/usr.sbin/ctld/token.l
==============================================================================
--- stable/10/usr.sbin/ctld/token.l	Mon Oct  5 07:41:12 2015	(r288703)
+++ stable/10/usr.sbin/ctld/token.l	Mon Oct  5 07:42:05 2015	(r288704)
@@ -34,7 +34,6 @@
 #include <stdint.h>
 #include <string.h>
 
-#include "ctld.h"
 #include "y.tab.h"
 
 int lineno;


More information about the svn-src-stable-10 mailing list