[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] i440fx-test: remove ARRAY_SIZE redefinition
From: |
Emilio G. Cota |
Subject: |
[Qemu-devel] [PATCH] i440fx-test: remove ARRAY_SIZE redefinition |
Date: |
Sun, 26 Apr 2015 18:04:27 -0400 |
It's defined in osdep.h and shouldn't be redefined here.
Signed-off-by: Emilio G. Cota <address@hidden>
---
tests/i440fx-test.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tests/i440fx-test.c b/tests/i440fx-test.c
index d0bc8de..33a7ecb 100644
--- a/tests/i440fx-test.c
+++ b/tests/i440fx-test.c
@@ -27,8 +27,6 @@
#define BROKEN 1
-#define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0]))
-
typedef struct TestData
{
int num_cpus;
--
1.9.1
- [Qemu-devel] [PATCH] i440fx-test: remove ARRAY_SIZE redefinition,
Emilio G. Cota <=