tMake globals static - vaccinewars - be a doctor and try to vaccinate the world
 (HTM) git clone git://src.adamsgaard.dk/vaccinewars
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit ca825800736f1457ac94750228b5d78cc32f0f2c
 (DIR) parent 17ff55f58d6e8debd86d49ce4de59d3e55e039b9
 (HTM) Author: Ben Webb <ben@salilab.org>
       Date:   Sat,  7 Nov 2020 20:33:44 -0800
       
       Make globals static
       
       Make globals static to avoid clashing with other
       compilation units.
       
       Diffstat:
         M src/curses_client/curses_client.c   |       2 +-
         M src/serverside.c                    |       2 +-
       
       2 files changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/src/curses_client/curses_client.c b/src/curses_client/curses_client.c
       t@@ -62,7 +62,7 @@ const static int MaxMessages = 1000;
        
        #ifdef NETWORKING
        /* Data waiting to be sent to/read from the metaserver */
       -CurlConnection MetaConn;
       +static CurlConnection MetaConn;
        
        static enum {
          CM_SERVER, CM_PROMPT, CM_META, CM_SINGLE
 (DIR) diff --git a/src/serverside.c b/src/serverside.c
       t@@ -112,7 +112,7 @@ GSList *FirstServer = NULL;
        
        #ifdef NETWORKING
        /* Data waiting to be sent to/read from the metaserver */
       -CurlConnection MetaConn;
       +static CurlConnection MetaConn;
        
        static GScanner *Scanner;