summaryrefslogtreecommitdiffstats
path: root/src/storage
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage')
-rw-r--r--src/storage/phrase_large_table3_bdb.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/storage/phrase_large_table3_bdb.cpp b/src/storage/phrase_large_table3_bdb.cpp
index f41a454..13acb9c 100644
--- a/src/storage/phrase_large_table3_bdb.cpp
+++ b/src/storage/phrase_large_table3_bdb.cpp
@@ -20,6 +20,7 @@
*/
#include "phrase_large_table3.h"
+#include <errno.h>
namespace pinyin{
@@ -29,7 +30,7 @@ PhraseLargeTable3::PhraseLargeTable3() {
m_entry = NULL;
}
-PhraseLargeTable3::reset() {
+void PhraseLargeTable3::reset() {
if (m_db) {
m_db->sync(m_db, 0);
m_db->close(m_db, 0);