summaryrefslogtreecommitdiff
path: root/hw/qdev-properties.c
diff options
context:
space:
mode:
authorChristoph Egger <Christoph.Egger@amd.com>2009-07-17 17:48:02 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-07-17 17:48:02 +0000
commit88e150a5695fc3f8cb9994b59f3b193003b56c9c (patch)
tree267c051403b68186d19b9860b508b6c50d206ca7 /hw/qdev-properties.c
parentfff2a02f0cf103541cb49330f48731edeed8c957 (diff)
downloadqemu-88e150a5695fc3f8cb9994b59f3b193003b56c9c.tar.gz
isxdigit -> qemu_isxdigit
Hi! Attached patch uses qemu_isxdigit() instead of isxdigit(). Fixes build warning on NetBSD. Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632
Diffstat (limited to 'hw/qdev-properties.c')
-rw-r--r--hw/qdev-properties.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/qdev-properties.c b/hw/qdev-properties.c
index 06c25aff71..76699b08ba 100644
--- a/hw/qdev-properties.c
+++ b/hw/qdev-properties.c
@@ -117,9 +117,9 @@ static int parse_mac(DeviceState *dev, Property *prop, const char *str)
char *p;
for (i = 0, pos = 0; i < 6; i++, pos += 3) {
- if (!isxdigit(str[pos]))
+ if (!qemu_isxdigit(str[pos]))
return -1;
- if (!isxdigit(str[pos+1]))
+ if (!qemu_isxdigit(str[pos+1]))
return -1;
if (i == 5 && str[pos+2] != '\0')
return -1;