diff options
author | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
commit | cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 (patch) | |
tree | e0f7e445de1aa22a42ef873dc4b1118a8105ae93 /src/cmd/samterm | |
parent | 226d80b8213821af0cbf092d1507c52b504fd368 (diff) | |
download | plan9port-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/samterm')
-rw-r--r-- | src/cmd/samterm/flayer.h | 4 | ||||
-rw-r--r-- | src/cmd/samterm/menu.c | 2 | ||||
-rw-r--r-- | src/cmd/samterm/samterm.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/samterm/flayer.h b/src/cmd/samterm/flayer.h index 41306f79..62c98076 100644 --- a/src/cmd/samterm/flayer.h +++ b/src/cmd/samterm/flayer.h @@ -1,11 +1,11 @@ typedef enum Vis{ None=0, Some, - All, + All }Vis; enum{ - Clicktime=1000, /* one second */ + Clicktime=1000 /* one second */ }; typedef struct Flayer Flayer; diff --git a/src/cmd/samterm/menu.c b/src/cmd/samterm/menu.c index 18070a8f..7dcf5aff 100644 --- a/src/cmd/samterm/menu.c +++ b/src/cmd/samterm/menu.c @@ -59,7 +59,7 @@ char *menu3str[] = { "zerox", "resize", "close", - "write", + "write" }; Menu menu2 = {0, genmenu2}; diff --git a/src/cmd/samterm/samterm.h b/src/cmd/samterm/samterm.h index e4803d59..04de4b90 100644 --- a/src/cmd/samterm/samterm.h +++ b/src/cmd/samterm/samterm.h @@ -53,7 +53,7 @@ enum Resource RMouse, RPlumb, RResize, - NRes, + NRes }; extern int protodebug; |