aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/troff/ni.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-04-01 19:24:03 +0000
committerrsc <devnull@localhost>2006-04-01 19:24:03 +0000
commitcbeb0b26e4c7caa8d1b47de791a7418dc20a4567 (patch)
treee0f7e445de1aa22a42ef873dc4b1118a8105ae93 /src/cmd/troff/ni.c
parent226d80b8213821af0cbf092d1507c52b504fd368 (diff)
downloadplan9port-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/troff/ni.c')
-rw-r--r--src/cmd/troff/ni.c6
1 files changed, 3 insertions, 3 deletions
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 */