1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 16:53:12 +02:00

Remove all remaining uses of (My)SQL from the code.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2267 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
cyberbotx
2009-04-07 05:31:14 +00:00
parent 578da38d30
commit 87ecbec79d
17 changed files with 4 additions and 272 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ const char version_number_dotted[] = VERSION_STRING_DOTTED;
const char version_build[] =
"build #" BUILD ", compiled " __DATE__ " " __TIME__;
/* the space is needed cause if you build with nothing it will complain */
const char version_flags[] = " " VER_OS VER_MYSQL VER_MODULE;
const char version_flags[] = " " VER_OS VER_MODULE;
/******** Local variables! ********/
-8
View File
@@ -882,9 +882,6 @@ void rand_init()
int n, fd;
#endif
struct {
#ifdef USE_MYSQL
int sqlrand;
#endif
#ifndef _WIN32
struct timeval nowt; /* time */
char rnd[32]; /* /dev/urandom */
@@ -896,11 +893,6 @@ void rand_init()
arc4_init();
/* Grab "random" MYSQL data */
#ifdef USE_MYSQL
rdat.sqlrand = mysql_rand();
#endif
/* Grab OS specific "random" data */
#ifndef _WIN32
/* unix/bsd: time */