From b8463cbfbe2c5183cf40772df2746e58b787ddeb Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Sat, 3 Jul 2010 23:05:43 -0700 Subject: * lib-src/fakemail.c (action): Convert function definitions to standard C. (add_a_stream): * lib-src/test-distrib.c (cool_read): (main): Likewise. --- lib-src/test-distrib.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'lib-src/test-distrib.c') diff --git a/lib-src/test-distrib.c b/lib-src/test-distrib.c index a6c7c187f8a..880bd115882 100644 --- a/lib-src/test-distrib.c +++ b/lib-src/test-distrib.c @@ -52,10 +52,7 @@ char buf[300]; /* Like `read' but keeps trying until it gets SIZE bytes or reaches eof. */ int -cool_read (fd, buf, size) - int fd; - char *buf; - int size; +cool_read (int fd, char *buf, int size) { int num, sofar = 0; @@ -70,9 +67,7 @@ cool_read (fd, buf, size) } int -main (argc, argv) - int argc; - char **argv; +main (int argc, char **argv) { int fd; -- cgit v1.2.3