Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2017 19:01:34 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r316051 - head/usr.sbin/ctladm
Message-ID:  <201703271901.v2RJ1Ycu032310@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Mon Mar 27 19:01:34 2017
New Revision: 316051
URL: https://svnweb.freebsd.org/changeset/base/316051

Log:
  ctldadm: sort #includes per style(9)
  
  - Only include sys/types.h or sys/param.h, not both.
  - Sort alphabetically.
  
  MFC after:	3 days
  Sponsored by:	Dell EMC Isilon

Modified:
  head/usr.sbin/ctladm/ctladm.c

Modified: head/usr.sbin/ctladm/ctladm.c
==============================================================================
--- head/usr.sbin/ctladm/ctladm.c	Mon Mar 27 18:59:49 2017	(r316050)
+++ head/usr.sbin/ctladm/ctladm.c	Mon Mar 27 19:01:34 2017	(r316051)
@@ -43,25 +43,24 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
-#include <sys/ioctl.h>
-#include <sys/types.h>
-#include <sys/stat.h>
 #include <sys/param.h>
+#include <sys/callout.h>
+#include <sys/ioctl.h>
 #include <sys/linker.h>
 #include <sys/queue.h>
-#include <sys/callout.h>
 #include <sys/sbuf.h>
-#include <stdint.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
+#include <sys/stat.h>
+#include <bsdxml.h>
+#include <ctype.h>
+#include <err.h>
+#include <errno.h>
 #include <fcntl.h>
 #include <getopt.h>
+#include <stdlib.h>
+#include <stdint.h>
+#include <stdio.h>
 #include <string.h>
-#include <errno.h>
-#include <err.h>
-#include <ctype.h>
-#include <bsdxml.h>
+#include <unistd.h>
 #include <cam/scsi/scsi_all.h>
 #include <cam/scsi/scsi_message.h>
 #include <cam/ctl/ctl.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703271901.v2RJ1Ycu032310>