From 4c626d13f820a401ae0a0907e8ff51d9d66699ca Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Tue, 16 Oct 2001 23:39:44 +0000
Subject: [PATCH] uptime no longer static (so it can be printed from
 atcodes.cpp)

---
 src/sbbs3/main.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/sbbs3/main.cpp b/src/sbbs3/main.cpp
index 9bd0e67028..fb28e7856f 100644
--- a/src/sbbs3/main.cpp
+++ b/src/sbbs3/main.cpp
@@ -67,7 +67,9 @@ HANDLE	exec_mutex;
 
 #endif // _WIN32
 
-static uint node_threads_running=0;
+time_t	uptime;
+
+static	uint node_threads_running=0;
 		
 char 	lastuseron[LEN_ALIAS+1];  /* Name of user last online */
 RingBuf* node_inbuf[MAX_NODES];
@@ -82,7 +84,6 @@ static	bool	scfg_reloaded=true;
 static	char *	text[TOTAL_TEXT];
 static	WORD	first_node;
 static	WORD	last_node;
-static	time_t	uptime;
 
 #ifdef JAVASCRIPT
 JSRuntime* js_runtime=NULL;
-- 
GitLab