[Spice-devel] [PATCH 2/8] Make spice_server_char_device_recognized_subtypes_list static

Frediano Ziglio fziglio at redhat.com
Mon Jun 20 09:15:06 UTC 2016


Not used outside the compile unit.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 server/reds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/reds.c b/server/reds.c
index 28ab90a..b2438f6 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -3150,7 +3150,7 @@ SPICE_GNUC_VISIBLE void spice_server_char_device_wakeup(SpiceCharDeviceInstance*
 #define SUBTYPE_USBREDIR "usbredir"
 #define SUBTYPE_PORT "port"
 
-const char *spice_server_char_device_recognized_subtypes_list[] = {
+static const char *spice_server_char_device_recognized_subtypes_list[] = {
     SUBTYPE_VDAGENT,
 #ifdef USE_SMARTCARD
     SUBTYPE_SMARTCARD,
-- 
2.7.4



More information about the Spice-devel mailing list