[libgtop] Move _glibtop_global_server from .data to .bss.



commit db8ad19eef19d6661ecc5c944a5c6e04435ab783
Author: Benoit Dejean <bdejean gmail com>
Date:   Sun Jul 19 22:12:36 2015 +0200

    Move _glibtop_global_server from .data to .bss.

 lib/init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/init.c b/lib/init.c
index 2b215fd..7fecdc2 100644
--- a/lib/init.c
+++ b/lib/init.c
@@ -31,7 +31,7 @@
 #define DEFAULT_PORT 42800
 #endif
 
-static glibtop _glibtop_global_server = { 0 };
+static glibtop _glibtop_global_server;
 glibtop *glibtop_global_server = &_glibtop_global_server;
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]