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/acme/acme.c | |
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/acme/acme.c')
-rw-r--r-- | src/cmd/acme/acme.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/acme/acme.c b/src/cmd/acme/acme.c index f95c3a17..395033b1 100644 --- a/src/cmd/acme/acme.c +++ b/src/cmd/acme/acme.c @@ -37,7 +37,7 @@ Rune snarfrune[NSnarf+1]; char *fontnames[2] = { "/lib/font/bit/lucsans/euro.8.font", - "/lib/font/bit/lucm/unicode.9.font", + "/lib/font/bit/lucm/unicode.9.font" }; Command *command; @@ -160,7 +160,7 @@ threadmain(int argc, char *argv[]) d = display; font = d->defaultfont; -//assert(font); +/*assert(font); */ reffont.f = font; reffonts[0] = &reffont; @@ -355,8 +355,8 @@ killprocs(void) Command *c; fsysclose(); -// if(display) -// flushimage(display, 1); +/* if(display) */ +/* flushimage(display, 1); */ for(c=command; c; c=c->next) postnote(PNGROUP, c->pid, "hangup"); |