summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-03 06:00:24 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-03 06:00:24 +0000
commitae631658b0aff3480563730c51d97ae025e54cd4 (patch)
treebb5740f7a1ddcc9fed01673c595cfcdc3ac2a5d4 /src
parent609b271cc5e209302f0a70a5430cbb12e2e4a271 (diff)
downloadcoreutils-ae631658b0aff3480563730c51d97ae025e54cd4.tar.xz
(nextarg): Use bool for booleans.
Diffstat (limited to 'src')
-rw-r--r--src/expr.c4
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);