diff options
| author | 2009-11-11 00:17:07 +0000 | |
|---|---|---|
| committer | 2009-11-11 00:17:07 +0000 | |
| commit | 19487dbebc520450e457472b97d9e7bcd5160c00 (patch) | |
| tree | 5ba36439139db77ff11c549228a3dbf69727e9cc /src/modules/extra/m_pgsql.cpp | |
| parent | Allow near-empty configuration to work by adding sensible defaults (diff) | |
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_pgsql.cpp')
| -rw-r--r-- | src/modules/extra/m_pgsql.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::string, SQLConn*> 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) |
