commit | cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 | [log] [tgz] |
---|---|---|
author | rsc <devnull@localhost> | Sat Apr 01 19:24:03 2006 +0000 |
committer | rsc <devnull@localhost> | Sat Apr 01 19:24:03 2006 +0000 |
tree | e0f7e445de1aa22a42ef873dc4b1118a8105ae93 | |
parent | 226d80b8213821af0cbf092d1507c52b504fd368 [diff] [blame] |
Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
diff --git a/src/cmd/sam/io.c b/src/cmd/sam/io.c index 95c2e0c..8740c7c 100644 --- a/src/cmd/sam/io.c +++ b/src/cmd/sam/io.c
@@ -223,7 +223,7 @@ char **av; int ac; - // count args + /* count args */ for(av = argv; *av; av++) ; av = malloc(sizeof(char*)*((av-argv) + 5));