aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/page/view.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/page/view.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/page/view.c')
-rw-r--r--src/cmd/page/view.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/page/view.c b/src/cmd/page/view.c
index 4321f829..1cdb2541 100644
--- a/src/cmd/page/view.c
+++ b/src/cmd/page/view.c
@@ -56,7 +56,7 @@ enum {
Middle = 2,
Right = 4,
- RMenu = 3,
+ RMenu = 3
};
void
@@ -265,7 +265,7 @@ enum{
Del,
Write,
Empty3,
- Exit,
+ Exit
};
void
@@ -866,7 +866,7 @@ redraw(Image *screen)
}
}
border(screen, r, -4000, gray, ZP);
-// flushimage(display, 0);
+/* flushimage(display, 0); */
}
void
@@ -1047,7 +1047,7 @@ newwin(void)
dup(cons, 1);
dup(cons, 2);
close(cons);
-// wctlfd = open("/dev/wctl", OWRITE);
+/* wctlfd = open("/dev/wctl", OWRITE); */
}
Rectangle