[Spice-devel] [PATCH spice-common] log: Remove useless includes

Frediano Ziglio fziglio at redhat.com
Thu Feb 21 10:49:20 UTC 2019


Now the function almost uses GLib function, no reason to include
some system headers.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 common/log.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/common/log.c b/common/log.c
index 054fd7f..b73da71 100644
--- a/common/log.c
+++ b/common/log.c
@@ -21,12 +21,6 @@
 
 #include <glib.h>
 #include <stdlib.h>
-#include <stdio.h>
-#include <sys/types.h>
-#ifndef _MSC_VER
-#include <unistd.h>
-#endif
-
 #include <common/recorder.h>
 
 #include "log.h"
-- 
2.20.1



More information about the Spice-devel mailing list