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/acme/dat.h | |
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/acme/dat.h')
-rw-r--r-- | src/cmd/acme/dat.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cmd/acme/dat.h b/src/cmd/acme/dat.h index d4438884..0bf82381 100644 --- a/src/cmd/acme/dat.h +++ b/src/cmd/acme/dat.h @@ -21,7 +21,7 @@ enum QWwrsel, QWtag, QWxdata, - QMAX, + QMAX }; enum @@ -29,7 +29,7 @@ enum Blockincr = 256, Maxblock = 8*1024, NRange = 10, - Infinity = 0x7FFFFFFF, /* huge value for regexp address */ + Infinity = 0x7FFFFFFF /* huge value for regexp address */ }; #define Buffer AcmeBuffer @@ -166,7 +166,7 @@ enum /* Text.what */ Columntag, Rowtag, Tag, - Body, + Body }; struct Text @@ -463,7 +463,7 @@ enum Scrollwid = 12, /* width of scroll bar */ Scrollgap = 4, /* gap right of scroll bar */ Margin = 4, /* margin around text */ - Border = 2, /* line between rows, cols, windows */ + Border = 2 /* line between rows, cols, windows */ }; #define QID(w,q) ((w<<8)|(q)) @@ -477,7 +477,7 @@ enum { FALSE, TRUE, - XXX, + XXX }; enum @@ -487,14 +487,14 @@ enum Delete = 'd', Insert = 'i', Replace = 'r', - Filename = 'f', + Filename = 'f' }; enum /* editing */ { Inactive = 0, Inserting, - Collecting, + Collecting }; uint globalincref; @@ -545,7 +545,7 @@ int dodollarsigns; enum { Kscrolloneup = KF|0x20, - Kscrollonedown = KF|0x21, + Kscrollonedown = KF|0x21 }; Channel *cplumb; /* chan(Plumbmsg*) */ |