aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/extra/m_mysql.cpp
diff options
context:
space:
mode:
authorGravatar danieldg2009-11-11 00:17:07 +0000
committerGravatar danieldg2009-11-11 00:17:07 +0000
commit19487dbebc520450e457472b97d9e7bcd5160c00 (patch)
tree5ba36439139db77ff11c549228a3dbf69727e9cc /src/modules/extra/m_mysql.cpp
parentAllow near-empty configuration to work by adding sensible defaults (diff)
downloadinspircd++-19487dbebc520450e457472b97d9e7bcd5160c00.tar.gz
inspircd++-19487dbebc520450e457472b97d9e7bcd5160c00.tar.bz2
inspircd++-19487dbebc520450e457472b97d9e7bcd5160c00.zip
Allow static build of inspircd without module support
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12083 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_mysql.cpp')
-rw-r--r--src/modules/extra/m_mysql.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp
index 47de25ee4..358f5e992 100644
--- a/src/modules/extra/m_mysql.cpp
+++ b/src/modules/extra/m_mysql.cpp
@@ -70,7 +70,7 @@ class DispatcherThread;
typedef std::map<std::string, SQLConnection*> ConnMap;
typedef std::deque<SQLresult*> ResultQueue;
-unsigned long count(const char * const str, char a)
+static unsigned long count(const char * const str, char a)
{
unsigned long n = 0;
for (const char *p = str; *p; ++p)