Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 2017 03:36:03 +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: r317316 - head/lib/libgeom
Message-ID:  <201704230336.v3N3a3Xn048493@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Sun Apr 23 03:36:03 2017
New Revision: 317316
URL: https://svnweb.freebsd.org/changeset/base/317316

Log:
  Minor style(9) fixups
  
  Delete trailing whitespace and sort headers.
  
  Leave libgeom.h's placement alone, per reasoning in r317289.
  
  MFC after:	5 weeks
  Sponsored by:	Dell EMC Isilon

Modified:
  head/lib/libgeom/geom_ctl.c

Modified: head/lib/libgeom/geom_ctl.c
==============================================================================
--- head/lib/libgeom/geom_ctl.c	Sun Apr 23 03:17:32 2017	(r317315)
+++ head/lib/libgeom/geom_ctl.c	Sun Apr 23 03:36:03 2017	(r317316)
@@ -29,23 +29,22 @@
  * $FreeBSD$
  */
 
-#include <stdio.h>
+#include <sys/types.h>
+#include <sys/queue.h>
 #include <fcntl.h>
 #include <errno.h>
-#include <stdint.h>
-#include <sys/types.h>
+#include <paths.h>
 #include <stdarg.h>
-#include <unistd.h>
-#include <string.h>
+#include <stdint.h>
+#include <stdio.h>
 #include <stdlib.h>
-#include <paths.h>
-
-#include <sys/queue.h>
+#include <string.h>
+#include <unistd.h>
 
 #define GCTL_TABLE 1
 #include <libgeom.h>
 
-/* 
+/*
  * Global pointer to a string that is used to avoid an errorneous free in
  * gctl_free.
  */
@@ -172,7 +171,7 @@ gctl_param_add(struct gctl_req *req, con
 		ap->len = len;
 	else if (len < 0) {
 		ap->flag |= GCTL_PARAM_ASCII;
-		ap->len = strlen(value) + 1;	
+		ap->len = strlen(value) + 1;
 	}
 }
 



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