diff options
author | Markus Armbruster <armbru@redhat.com> | 2017-02-21 21:13:51 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-02-23 20:35:35 +0100 |
commit | 717adf960933da0650d995f050d457063d591914 (patch) | |
tree | 085eb80c1092b1def5446a5f0948a576ee530a0a /translate-all.h | |
parent | b30d188677456b17c1cd68969e08ddc634cef644 (diff) | |
download | qemu-717adf960933da0650d995f050d457063d591914.zip qemu-717adf960933da0650d995f050d457063d591914.tar.gz qemu-717adf960933da0650d995f050d457063d591914.tar.bz2 |
util/cutils: Clean up variable names around qemu_strtol()
Name same things the same, different things differently.
* qemu_strtol()'s parameter @nptr is called @p in
check_strtox_error(). Rename the latter.
* qemu_strtol()'s parameter @endptr is called @next in
check_strtox_error(). Rename the latter.
* qemu_strtol()'s variable @p is called @endptr in
check_strtox_error(). Rename both to @ep.
* qemu_strtol()'s variable @err is *negative* errno,
check_strtox_error()'s parameter @err is *positive*. Rename the
latter to @libc_errno.
Same for qemu_strtoul(), qemu_strtoi64(), qemu_strtou64(), of course.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1487708048-2131-8-git-send-email-armbru@redhat.com>
Diffstat (limited to 'translate-all.h')
0 files changed, 0 insertions, 0 deletions