diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-03 06:00:24 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-03 06:00:24 +0000 |
commit | ae631658b0aff3480563730c51d97ae025e54cd4 (patch) | |
tree | bb5740f7a1ddcc9fed01673c595cfcdc3ac2a5d4 | |
parent | 609b271cc5e209302f0a70a5430cbb12e2e4a271 (diff) | |
download | coreutils-ae631658b0aff3480563730c51d97ae025e54cd4.tar.xz |
(nextarg): Use bool for booleans.
-rw-r--r-- | src/expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr.c b/src/expr.c index a6f54774e..46016ca00 100644 --- a/src/expr.c +++ b/src/expr.c @@ -358,14 +358,14 @@ toarith (VALUE *v) } } -/* Return nonzero and advance if the next token matches STR exactly. +/* Return true and advance if the next token matches STR exactly. STR must not be NULL. */ static bool nextarg (char const *str) { if (*args == NULL) - return 0; + return false; else { bool r = STREQ (*args, str); |