diff options
author | Paul Smith <psmith@gnu.org> | 2002-10-14 21:54:04 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2002-10-14 21:54:04 +0000 |
commit | 6374309c6d4d17ab1e4109133ab8aad55f77d51c (patch) | |
tree | 91011a11f637df979b9c5dd8b0f1fc4bfc2be831 /amiga.c | |
parent | 8bbdbb02b30ffd39c2fac9259b3a91cb62e1711d (diff) | |
download | gunmake-6374309c6d4d17ab1e4109133ab8aad55f77d51c.tar.gz |
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.
Diffstat (limited to 'amiga.c')
-rw-r--r-- | amiga.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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; |