libqtest: Use qemu_strtoul()
commit50990b162c471a8de992d43a170a3ccf24462720
authorEric Blake <eblake@redhat.com>
Mon, 11 Sep 2017 17:19:50 +0000 (11 12:19 -0500)
committerThomas Huth <thuth@redhat.com>
Wed, 14 Feb 2018 09:08:41 +0000 (14 10:08 +0100)
treef020e05f3fc681a499dd5048f15f6e528a9cacc6
parent2c58c27beeba1a5be4bceeb283cbc90d4233a090
libqtest: Use qemu_strtoul()

This will keep checkpatch happy when the next patch does code motion.
Fix the include order to match HACKING when adding the needed header.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/libqtest.c