diff options
author | Jim Meyering <jim@meyering.net> | 2003-03-18 08:43:57 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-03-18 08:43:57 +0000 |
commit | ba840923261515adb8fb61f76ac26921d7111e52 (patch) | |
tree | dd5ba2d6fadc761a06a91ee73191b33451926e7b /src/fmt.c | |
parent | 8f33b715b12f3191d1abf4d629fab754ec61db56 (diff) | |
download | coreutils-ba840923261515adb8fb61f76ac26921d7111e52.tar.gz coreutils-ba840923261515adb8fb61f76ac26921d7111e52.tar.bz2 coreutils-ba840923261515adb8fb61f76ac26921d7111e52.zip |
[struct Word] (paren, period, punct, final): Change the
type of each member from bool <MEMBER>:1 to unsigned int <MEMBER>:1.
AIX 5.1's xlc could not compile the former.
Diffstat (limited to 'src/fmt.c')
-rw-r--r-- | src/fmt.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,5 +1,5 @@ /* GNU fmt -- simple text formatter. - Copyright (C) 1994-2002 Free Software Foundation, Inc. + Copyright (C) 1994-2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -134,10 +134,10 @@ struct Word const char *text; /* the text of the word */ int length; /* length of this word */ int space; /* the size of the following space */ - bool paren:1; /* starts with open paren */ - bool period:1; /* ends in [.?!])* */ - bool punct:1; /* ends in punctuation */ - bool final:1; /* end of sentence */ + unsigned int paren:1; /* starts with open paren */ + unsigned int period:1; /* ends in [.?!])* */ + unsigned int punct:1; /* ends in punctuation */ + unsigned int final:1; /* end of sentence */ /* The remaining fields are computed during the optimization. */ |