From: Jan Beulich Date: Mon, 3 Feb 2025 11:28:22 +0000 (+0100) Subject: wasm32: use is_whitespace() X-Git-Tag: binutils-2_45~1709 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62489f8b5252f92f89078b2ff3eac3abab75cb49;p=thirdparty%2Fbinutils-gdb.git wasm32: use is_whitespace() Convert an open-coded check. --- diff --git a/gas/config/tc-wasm32.c b/gas/config/tc-wasm32.c index 88a20805891..c9b07878179 100644 --- a/gas/config/tc-wasm32.c +++ b/gas/config/tc-wasm32.c @@ -229,7 +229,7 @@ md_apply_fix (fixS * fixP, valueT * valP, segT seg ATTRIBUTE_UNUSED) static inline char * skip_space (char *s) { - while (*s == ' ' || *s == '\t') + while (is_whitespace (*s)) ++s; return s; }