From: Paul Eggert Date: Tue, 3 Aug 2004 06:00:24 +0000 (+0000) Subject: (nextarg): Use bool for booleans. X-Git-Tag: COREUTILS-5_3_0~896 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae631658b0aff3480563730c51d97ae025e54cd4;p=platform%2Fupstream%2Fcoreutils.git (nextarg): Use bool for booleans. --- 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);