projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
609b271
)
(nextarg): Use bool for booleans.
author
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 3 Aug 2004 06:00:24 +0000
(06:00 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 3 Aug 2004 06:00:24 +0000
(06:00 +0000)
src/expr.c
patch
|
blob
|
history
diff --git
a/src/expr.c
b/src/expr.c
index
a6f5477
..
46016ca
100644
(file)
--- 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);