From 6374309c6d4d17ab1e4109133ab8aad55f77d51c Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 14 Oct 2002 21:54:04 +0000 Subject: Convert the source code to use ANSI C style function definitions and enable the automake ansi2knr capability. Right now this doesn't quite build using a K&R compiler because of a problem with the loadavg test program, but the rest of the code works. I'm asking the automake list about this problem. --- amiga.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'amiga.c') diff --git a/amiga.c b/amiga.c index db8ef0d..b6d1e92 100644 --- a/amiga.c +++ b/amiga.c @@ -30,8 +30,7 @@ static const char Amiga_version[] = "$VER: Make 3.74.3 (12.05.96) \n" "Amiga Port by A. Digulla (digulla@home.lake.de)"; int -MyExecute (argv) -char ** argv; +MyExecute (char **argv) { char * buffer, * ptr; char ** aptr; @@ -92,8 +91,7 @@ char ** argv; } char * -wildcard_expansion (wc, o) -char * wc, * o; +wildcard_expansion (char *wc, char *o) { # define PATH_SIZE 1024 struct AnchorPath * apath; -- cgit v1.2.3