From cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 1 Apr 2006 19:24:03 +0000 Subject: Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. --- src/cmd/acme/acme.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/cmd/acme/acme.c') 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"); -- cgit v1.2.3