diff options
author | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
commit | cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 (patch) | |
tree | e0f7e445de1aa22a42ef873dc4b1118a8105ae93 /src/cmd/acid | |
parent | 226d80b8213821af0cbf092d1507c52b504fd368 (diff) | |
download | plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.gz plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.bz2 plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.zip |
Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
Diffstat (limited to 'src/cmd/acid')
-rw-r--r-- | src/cmd/acid/acid.h | 6 | ||||
-rw-r--r-- | src/cmd/acid/print.c | 2 | ||||
-rw-r--r-- | src/cmd/acid/proc.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/cmd/acid/acid.h b/src/cmd/acid/acid.h index 266175e2..e58e9b13 100644 --- a/src/cmd/acid/acid.h +++ b/src/cmd/acid/acid.h @@ -10,7 +10,7 @@ enum NFD = 100, Maxproc = 50, Maxval = 10, - Mempergc = 1024*1024, + Mempergc = 1024*1024 }; /* #pragma varargck type "L" void */ @@ -81,7 +81,7 @@ enum TCODE, TREG, TCON, - NUMT, + NUMT }; struct Type @@ -327,5 +327,5 @@ enum OEVAL, OWHAT, OUPLUS, - NUMO, + NUMO }; diff --git a/src/cmd/acid/print.c b/src/cmd/acid/print.c index 58acdfc9..c4b870e9 100644 --- a/src/cmd/acid/print.c +++ b/src/cmd/acid/print.c @@ -38,7 +38,7 @@ char *typenames[] = { "float", "string", "list", - "code", + "code" }; void diff --git a/src/cmd/acid/proc.c b/src/cmd/acid/proc.c index 034af991..e6efc95a 100644 --- a/src/cmd/acid/proc.c +++ b/src/cmd/acid/proc.c @@ -202,7 +202,7 @@ deinstall(int pid) for(i = 0; i < Maxproc; i++) { if(ptab[i].pid == pid) { detachproc(pid); - // close(ptab[i].ctl); + /* close(ptab[i].ctl); */ ptab[i].pid = 0; s = look("proclist"); d = &s->v->store.u.l; |