From e0d705e12aa99897a06f831ae28a8bd5d0d0b7d6 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Mon, 30 Apr 2001 00:45:40 +0000
Subject: [PATCH] nular is now global (so it can be referenced by scfglib*.c)

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

diff --git a/src/sbbs3/ars.c b/src/sbbs3/ars.c
index f664cb986d..ba7e77a03c 100644
--- a/src/sbbs3/ars.c
+++ b/src/sbbs3/ars.c
@@ -37,6 +37,8 @@
 
 #include "sbbs.h"
 
+const uchar* nular="";	// AR_NULL
+
 /* Converts ASCII ARS string into binary ARS buffer */
 
 #ifdef __BORLANDC__	/* Eliminate warning when buildling Baja */
@@ -44,7 +46,6 @@
 #endif
 uchar* arstr(ushort* count, char* str, scfg_t* cfg)
 {
-	static uchar nular[2]={0};
 	char *p;
 	uchar ar[256],*ar_buf;
 	uint i,j,n,artype=AR_LEVEL,not=0,equal=0;
@@ -539,7 +540,7 @@ uchar* arstr(ushort* count, char* str, scfg_t* cfg)
 		} 
 	}
 	if(!j)
-		return(nular);	/* Save memory */
+		return((uchar*)nular);	/* Save memory */
 
 	ar[j++]=AR_NULL;
 	/** DEBUG stuff
-- 
GitLab