From ae631658b0aff3480563730c51d97ae025e54cd4 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 3 Aug 2004 06:00:24 +0000 Subject: (nextarg): Use bool for booleans. --- src/expr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2