Add static keyword to global variable declarations

This commit is contained in:
Cameron Gutman
2014-02-02 05:05:37 -05:00
parent 31cd93b11b
commit 12a31f8442
6 changed files with 46 additions and 43 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
#define STAGE_CONTROL_STREAM_START 5
#define STAGE_VIDEO_STREAM_START 6
int stage = STAGE_NONE;
static int stage = STAGE_NONE;
void LiStopConnection(void) {
if (stage == STAGE_VIDEO_STREAM_START) {