FS-10025: fix global symbol scope issue causing modules to use another modules global pointer

This commit is contained in:
Mike Jerris committed 2017-02-09 17:23:30 -06:00
1 parent c125ab7315
commit a3ee7595bb
31 files changed
+526 -528

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@
#define WS_WRITE_SANITY 2000
#define SHA1_HASH_SIZE 20
struct ws_globals_s ws_globals;
static struct ws_globals_s ws_globals;
#ifndef WSS_STANDALONE
+1 -1
View File
@@ -61,7 +61,7 @@ struct ws_globals_s {
char key[512];
};
extern struct ws_globals_s ws_globals;
//extern struct ws_globals_s ws_globals;
#ifndef WIN32
typedef int ws_socket_t;