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

Matt Helsley matthltc at us.ibm.com
Mon Mar 15 23:51:01 PDT 2010


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 at us.ibm.com>

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 at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list