aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/faces
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/faces
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/faces')
-rw-r--r--src/cmd/faces/facedb.c2
-rw-r--r--src/cmd/faces/faces.h2
-rw-r--r--src/cmd/faces/main.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/faces/facedb.c b/src/cmd/faces/facedb.c
index 3fa133a5..a24a391a 100644
--- a/src/cmd/faces/facedb.c
+++ b/src/cmd/faces/facedb.c
@@ -9,7 +9,7 @@
enum /* number of deleted faces to cache */
{
- Nsave = 20,
+ Nsave = 20
};
static Facefile *facefiles;
diff --git a/src/cmd/faces/faces.h b/src/cmd/faces/faces.h
index 0a4661c1..f6348f96 100644
--- a/src/cmd/faces/faces.h
+++ b/src/cmd/faces/faces.h
@@ -9,7 +9,7 @@ enum /* face strings */
enum
{
- Facesize = 48,
+ Facesize = 48
};
typedef struct Face Face;
diff --git a/src/cmd/faces/main.c b/src/cmd/faces/main.c
index 18eb70b4..bb36ed7c 100644
--- a/src/cmd/faces/main.c
+++ b/src/cmd/faces/main.c
@@ -36,7 +36,7 @@ char *procnames[] = {
"main",
"time",
"mouse",
- "resize",
+ "resize"
};
Rectangle leftright = {0, 0, 20, 15};