Patchwork Drop unneeded pthread.h inclusions

login
register
mail settings
Submitter Jan Kiszka
Date Sept. 20, 2011, 3:11 p.m.
Message ID <4E78AD3E.5070509@siemens.com>
Download mbox | patch
Permalink /patch/115572/
State New
Headers show

Comments

Jan Kiszka - Sept. 20, 2011, 3:11 p.m.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 hw/xen_nic.c       |    1 -
 hw/xics.c          |    2 --
 ui/spice-display.c |    2 --
 3 files changed, 0 insertions(+), 5 deletions(-)
Stefan Hajnoczi - Sept. 21, 2011, 10:21 a.m.
On Tue, Sep 20, 2011 at 05:11:58PM +0200, Jan Kiszka wrote:
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>  hw/xen_nic.c       |    1 -
>  hw/xics.c          |    2 --
>  ui/spice-display.c |    2 --
>  3 files changed, 0 insertions(+), 5 deletions(-)

Thanks, applied to the trivial patches tree:
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/trivial-patches

Stefan

Patch

diff --git a/hw/xen_nic.c b/hw/xen_nic.c
index aeca8da..ef2a2d6 100644
--- a/hw/xen_nic.c
+++ b/hw/xen_nic.c
@@ -25,7 +25,6 @@ 
 #include <inttypes.h>
 #include <fcntl.h>
 #include <errno.h>
-#include <pthread.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>
 #include <sys/types.h>
diff --git a/hw/xics.c b/hw/xics.c
index 9bf82aa..80e064e 100644
--- a/hw/xics.c
+++ b/hw/xics.c
@@ -29,8 +29,6 @@ 
 #include "hw/spapr.h"
 #include "hw/xics.h"

-#include <pthread.h>
-
 /*
  * ICP: Presentation layer
  */
diff --git a/ui/spice-display.c b/ui/spice-display.c
index e385361..590a5a6 100644
--- a/ui/spice-display.c
+++ b/ui/spice-display.c
@@ -15,8 +15,6 @@ 
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */

-#include <pthread.h>
-
 #include "qemu-common.h"
 #include "qemu-spice.h"
 #include "qemu-timer.h"