diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-10-13 12:03:37 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-10-13 12:03:37 -0700 |
commit | ff800417a1842f8f0f82a55cf78c061d623ec307 (patch) | |
tree | d4c090160ff14f23e956a8e9cd25b443013dc722 /nasmlib.c | |
parent | d61debfc913192260a256e894251ef9a24da8493 (diff) | |
download | nasm-ff800417a1842f8f0f82a55cf78c061d623ec307.tar.gz nasm-ff800417a1842f8f0f82a55cf78c061d623ec307.tar.bz2 nasm-ff800417a1842f8f0f82a55cf78c061d623ec307.zip |
nasm: rename nasm_zap_spaces() to nasm_zap_spaces_fwd()
By analogy with nasm_zap_spaces_rev() have nasm_zap_spaces_fwd(). The
forward version isn't a super-common operation, and it might be
possible to think the reverse one is the "normal" version... therefore
we might as well be explicit.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'nasmlib.c')
-rw-r--r-- | nasmlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -673,7 +673,7 @@ char *nasm_skip_word(const char *p) } /* zap leading spaces with zero */ -char *nasm_zap_spaces(char *p) +char *nasm_zap_spaces_fwd(char *p) { if (p) while (*p && nasm_isspace(*p)) |