Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2014 13:52:05 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r268763 - head/usr.bin/timeout
Message-ID:  <201407161352.s6GDq5JF098097@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Jul 16 13:52:05 2014
New Revision: 268763
URL: http://svnweb.freebsd.org/changeset/base/268763

Log:
  Sort properly the headers
  While here space/tabs cleanup
  
  Reviewed by:	kib

Modified:
  head/usr.bin/timeout/timeout.c

Modified: head/usr.bin/timeout/timeout.c
==============================================================================
--- head/usr.bin/timeout/timeout.c	Wed Jul 16 12:57:53 2014	(r268762)
+++ head/usr.bin/timeout/timeout.c	Wed Jul 16 13:52:05 2014	(r268763)
@@ -28,6 +28,9 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
+#include <sys/time.h>
+#include <sys/wait.h>
+
 #include <err.h>
 #include <errno.h>
 #include <getopt.h>
@@ -36,8 +39,6 @@ __FBSDID("$FreeBSD$");
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <sys/time.h>
-#include <sys/wait.h>
 #include <sysexits.h>
 #include <unistd.h>
 
@@ -90,7 +91,7 @@ parse_duration(const char *duration)
 	default:
 		errx(EX_USAGE, "invalid duration");
 	}
-	
+
 	if (ret < 0 || ret >= 100000000UL)
 		errx(EX_USAGE, "invalid duration");
 
@@ -114,7 +115,7 @@ parse_signal(const char *str)
 		if (strcasecmp(str, sys_signame[i]) == 0)
 			return (i);
 	}
-	
+
 	errx(EX_USAGE, "invalid signal");
 }
 



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