summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/unittest/log_mock.c
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/unittest/log_mock.c')
-rw-r--r--libglusterfs/src/unittest/log_mock.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libglusterfs/src/unittest/log_mock.c b/libglusterfs/src/unittest/log_mock.c
index 676df7c..fec48ba 100644
--- a/libglusterfs/src/unittest/log_mock.c
+++ b/libglusterfs/src/unittest/log_mock.c
@@ -39,5 +39,12 @@ int _gf_log_nomem (const char *domain, const char *file,
return 0;
}
+int _gf_msg_nomem (const char *domain, const char *file,
+ const char *function, int line, gf_loglevel_t level,
+ size_t size)
+{
+ return 0;
+}
+
void
gf_log_globals_init (void *data) {}