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/troff/ni.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cmd/troff/ni.c') diff --git a/src/cmd/troff/ni.c b/src/cmd/troff/ni.c index a80cec64..ee09ed4a 100644 --- a/src/cmd/troff/ni.c +++ b/src/cmd/troff/ni.c @@ -22,7 +22,7 @@ Numtab numtab[NN] = { { PAIR('s', 't') }, { PAIR('s', 'b') }, { PAIR('c', '.') }, - { PAIR('$', '$') }, + { PAIR('$', '$') } }; @@ -150,7 +150,7 @@ Contab contab[NM] = { C(PAIR('s', 'y'), casesy), C(PAIR('l', 'f'), caself), C(PAIR('p', 't'), casept), - C(PAIR('g', 'd'), casegd), + C(PAIR('g', 'd'), casegd) }; @@ -228,7 +228,7 @@ Env env[NEV] = { { /* this sets up env[0] */ /* int pendnf */ 0, /* int spread */ 0, /* int it */ 0, /* input trap count */ -/* int itmac */ 0, +/* int itmac */ 0 } }; Env *envp = env; /* start off in env 0 */ -- cgit v1.2.3