[Qemu-devel] [PATCH 9/9] Remove unncessary includes

2010-10-26 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com

No need to include stdlib.h for BSD as it is included by
qemu-common.h, windows.h is handled by sysemu.h and osdep.c no longer
needs malloc.h

Signed-off-by: Jes Sorensen jes.soren...@redhat.com
---
 osdep.c |8 
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/osdep.c b/osdep.c
index 0d48561..327583b 100644
--- a/osdep.c
+++ b/osdep.c
@@ -44,14 +44,6 @@
 extern int madvise(caddr_t, size_t, int);
 #endif
 
-#ifdef _WIN32
-#include windows.h
-#elif defined(CONFIG_BSD)
-#include stdlib.h
-#else
-#include malloc.h
-#endif
-
 #include qemu-common.h
 #include trace.h
 #include sysemu.h
-- 
1.7.2.3





[Qemu-devel] [PATCH 9/9] Remove unncessary includes

2010-10-18 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com

No need to include stdlib.h for BSD as it is included by
qemu-common.h, windows.h is handled by sysemu.h and osdep.c no longer
needs malloc.h

Signed-off-by: Jes Sorensen jes.soren...@redhat.com
---
 osdep.c |8 
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/osdep.c b/osdep.c
index 0d48561..327583b 100644
--- a/osdep.c
+++ b/osdep.c
@@ -44,14 +44,6 @@
 extern int madvise(caddr_t, size_t, int);
 #endif
 
-#ifdef _WIN32
-#include windows.h
-#elif defined(CONFIG_BSD)
-#include stdlib.h
-#else
-#include malloc.h
-#endif
-
 #include qemu-common.h
 #include trace.h
 #include sysemu.h
-- 
1.7.2.3




[Qemu-devel] [PATCH 9/9] Remove unncessary includes

2010-10-16 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com

No need to include stdlib.h for BSD as it is included by
qemu-common.h, windows.h is handled by sysemu.h and osdep.c no longer
needs malloc.h

Signed-off-by: Jes Sorensen jes.soren...@redhat.com
---
 osdep.c |8 
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/osdep.c b/osdep.c
index 0d48561..327583b 100644
--- a/osdep.c
+++ b/osdep.c
@@ -44,14 +44,6 @@
 extern int madvise(caddr_t, size_t, int);
 #endif
 
-#ifdef _WIN32
-#include windows.h
-#elif defined(CONFIG_BSD)
-#include stdlib.h
-#else
-#include malloc.h
-#endif
-
 #include qemu-common.h
 #include trace.h
 #include sysemu.h
-- 
1.7.2.3




[Qemu-devel] [PATCH 9/9] Remove unncessary includes

2010-10-15 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com

No need to include stdlib.h for BSD as it is included by
qemu-common.h, windows.h is handled by sysemu.h and osdep.c no longer
needs malloc.h

Signed-off-by: Jes Sorensen jes.soren...@redhat.com
---
 osdep.c |8 
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/osdep.c b/osdep.c
index 0d48561..327583b 100644
--- a/osdep.c
+++ b/osdep.c
@@ -44,14 +44,6 @@
 extern int madvise(caddr_t, size_t, int);
 #endif
 
-#ifdef _WIN32
-#include windows.h
-#elif defined(CONFIG_BSD)
-#include stdlib.h
-#else
-#include malloc.h
-#endif
-
 #include qemu-common.h
 #include trace.h
 #include sysemu.h
-- 
1.7.2.3