From ef906f0b1616600dcc071cb6da83a6676b07b460 Mon Sep 17 00:00:00 2001 From: victor Date: Sat, 15 Apr 2006 03:34:18 +0000 Subject: const instead of static git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3347 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbbsd/user.c b/mbbsd/user.c index e043e2da..f3e85c55 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -488,7 +488,7 @@ makeregcode(char *buf) { char fpath[PATHLEN]; int fd, i; - static char *alphabet = "qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM"; + const char *alphabet = "qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM"; /* generate a new regcode */ buf[13] = 0; -- cgit v1.2.3