From 19487dbebc520450e457472b97d9e7bcd5160c00 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 11 Nov 2009 00:17:07 +0000 Subject: Allow static build of inspircd without module support git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12083 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_mysql.cpp | 2 +- src/modules/extra/m_pgsql.cpp | 2 +- src/modules/extra/m_sqlite3.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/extra') 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 ConnMap; typedef std::deque 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) diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index b5beea0b0..f362125cb 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -44,7 +44,7 @@ typedef std::map ConnMap; */ enum SQLstatus { CREAD, CWRITE, WREAD, WWRITE, RREAD, RWRITE }; -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) diff --git a/src/modules/extra/m_sqlite3.cpp b/src/modules/extra/m_sqlite3.cpp index 89f61b652..e5693b61f 100644 --- a/src/modules/extra/m_sqlite3.cpp +++ b/src/modules/extra/m_sqlite3.cpp @@ -31,7 +31,7 @@ typedef std::map ConnMap; typedef std::deque paramlist; typedef std::deque 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) -- cgit v1.2.3