Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2013 03:49:05 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r250431 - head/usr.bin/xargs
Message-ID:  <201305100349.r4A3n5qh081766@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Fri May 10 03:49:05 2013
New Revision: 250431
URL: http://svnweb.freebsd.org/changeset/base/250431

Log:
  Style(9) changes fo xargs.c

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

Modified: head/usr.bin/xargs/xargs.c
==============================================================================
--- head/usr.bin/xargs/xargs.c	Fri May 10 03:42:48 2013	(r250430)
+++ head/usr.bin/xargs/xargs.c	Fri May 10 03:49:05 2013	(r250431)
@@ -670,12 +670,14 @@ pids_init(void)
 static int
 pids_empty(void)
 {
+
 	return (curprocs == 0);
 }
 
 static int
 pids_full(void)
 {
+
 	return (curprocs >= maxprocs);
 }
 
@@ -709,7 +711,6 @@ findfreeslot(void)
 
 	if ((slot = findslot(NOPID)) < 0)
 		errx(1, "internal error: no free pid slot");
-
 	return (slot);
 }
 
@@ -721,13 +722,13 @@ findslot(pid_t pid)
 	for (slot = 0; slot < maxprocs; slot++)
 		if (childpids[slot] == pid)
 			return (slot);
-
 	return (-1);
 }
 
 static void
 clearslot(int slot)
 {
+
 	childpids[slot] = NOPID;
 }
 
@@ -762,6 +763,7 @@ prompt(void)
 static void
 usage(void)
 {
+
 	fprintf(stderr,
 "usage: xargs [-0opt] [-E eofstr] [-I replstr [-R replacements] [-S replsize]]\n"
 "             [-J replstr] [-L number] [-n number [-x]] [-P maxprocs]\n"



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