diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-07 05:31:14 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-07 05:31:14 +0000 |
commit | 87ecbec79dfc02abcaaf3ce2c04b848e968748da (patch) | |
tree | f4e36fe6682df24612fa5bdd3303f15928aca451 /src | |
parent | 578da38d30893ca33cc1aa9183e4b82d67c831f3 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 | ||||
-rw-r--r-- | src/misc.c | 8 |
2 files changed, 1 insertions, 9 deletions
diff --git a/src/main.c b/src/main.c index 8484eeea1..cd3c9e117 100644 --- a/src/main.c +++ b/src/main.c @@ -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! ********/ diff --git a/src/misc.c b/src/misc.c index 591cd1181..b1ab62e32 100644 --- a/src/misc.c +++ b/src/misc.c @@ -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 */ |