Patchwork [trivial] qemu-char: remove a few needless #includes

login
register
mail settings
Submitter Michael Tokarev
Date June 5, 2013, 3:17 p.m.
Message ID <1370445446-5860-1-git-send-email-mjt@msgid.tls.msk.ru>
Download mbox | patch
Permalink /patch/249108/
State New
Headers show

Comments

Michael Tokarev - June 5, 2013, 3:17 p.m.
This removes <syslog.h> since we don't use
syslogging, and removes second, solaris-specific,
include of <net/if.h> (which is included in
a common part of the file)

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 qemu-char.c |    2 --
 1 file changed, 2 deletions(-)

Patch

diff --git a/qemu-char.c b/qemu-char.c
index d04b429..f1df400 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -76,8 +76,6 @@ 
 #include <netinet/ip_icmp.h> // must come after ip.h
 #include <netinet/udp.h>
 #include <netinet/tcp.h>
-#include <net/if.h>
-#include <syslog.h>
 #endif
 #endif
 #endif