[PATCH 11/10] cr_tests: fileio: Add missing voids

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 15, 2010 at 11:04:10PM -0700, Matt Helsley wrote:
> On Mon, Mar 15, 2010 at 06:32:09PM -0500, Nathan Lynch wrote:
> > 
> > Change the definition of do_child from
> > 
> > void do_child()
> > 
> > to 
> > 
> > void do_child(void)
> > 
> > please?

<done in separate, reposting of the patch>

> > wait_for_child and setup_test_data need the same treatment.

Below.

Cheers,
	-Matt Helsley
---

cr_tests: fileio: Fix style nit -- missing voids

Fill the voids with more void.

Signed-off-by: Matt Helsley <matthltc@xxxxxxxxxx>

diff --git a/fileio/fsetown1.c b/fileio/fsetown1.c
index 56a97d5..59431a0 100644
--- a/fileio/fsetown1.c
+++ b/fileio/fsetown1.c
@@ -29,7 +29,7 @@ void iohandler(int sig)
 	got_sigio = 1;
 }
 
-static void wait_for_child()
+static void wait_for_child(void)
 {
 	int rc;
 	int status;
@@ -162,7 +162,7 @@ void do_child(void)
  * Create a pipe that the child will try to read from and parent will
  * write to.
  */
-void setup_test_data()
+void setup_test_data(void)
 {
 	int rc;
 
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux