[Spice-devel] [PATCH 13/17] Remove bogus include of strings.h
Daniel P. Berrange
berrange at redhat.com
Tue Jan 10 07:58:34 PST 2012
From: "Daniel P. Berrange" <berrange at redhat.com>
The tests include strings.h but don't need any of its functions
---
server/tests/basic_event_loop.c | 1 -
server/tests/test_empty_success.c | 1 -
server/tests/test_just_sockets_no_ssl.c | 1 -
server/tests/test_playback.c | 1 -
4 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/server/tests/basic_event_loop.c b/server/tests/basic_event_loop.c
index 41795f1..7e57527 100644
--- a/server/tests/basic_event_loop.c
+++ b/server/tests/basic_event_loop.c
@@ -1,7 +1,6 @@
#include <stdlib.h>
#include <stdio.h>
#include <sys/time.h>
-#include <strings.h>
#include <signal.h>
#include <string.h>
diff --git a/server/tests/test_empty_success.c b/server/tests/test_empty_success.c
index a4f49c7..63cf2a2 100644
--- a/server/tests/test_empty_success.c
+++ b/server/tests/test_empty_success.c
@@ -1,5 +1,4 @@
#include <stdlib.h>
-#include <strings.h>
#include <spice.h>
SpiceTimer* timer_add(SpiceTimerFunc func, void *opaque)
diff --git a/server/tests/test_just_sockets_no_ssl.c b/server/tests/test_just_sockets_no_ssl.c
index e105b1c..f0218b8 100644
--- a/server/tests/test_just_sockets_no_ssl.c
+++ b/server/tests/test_just_sockets_no_ssl.c
@@ -1,4 +1,3 @@
-#include <strings.h>
#include <sys/select.h>
#include <spice.h>
#include "basic_event_loop.h"
diff --git a/server/tests/test_playback.c b/server/tests/test_playback.c
index 0b95bfd..1de2d28 100644
--- a/server/tests/test_playback.c
+++ b/server/tests/test_playback.c
@@ -1,5 +1,4 @@
#include <stdio.h>
-#include <strings.h>
#include <sys/select.h>
#include <sys/time.h>
#include <math.h>
--
1.7.7.5
More information about the Spice-devel
mailing list