]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Improve stub_mem.cc, use it in testSBuf
authorFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 5 Nov 2013 10:03:27 +0000 (11:03 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 5 Nov 2013 10:03:27 +0000 (11:03 +0100)
src/Makefile.am
src/tests/stub_mem.cc

index 09613e69ec03e8d7dae003250b37f88fbbf01718..089056168485157aace006153d07b825e629bba9 100644 (file)
@@ -3658,7 +3658,7 @@ tests_testSBuf_SOURCES= \
        $(SBUF_SOURCE) \
        SBufStream.h \
        tests/stub_time.cc \
-       mem.cc \
+       tests/stub_mem.cc \
        tests/stub_debug.cc \
        tests/stub_fatal.cc \
        tests/stub_HelperChildConfig.cc \
index 3e62c9ebbfef88c51504ef388842aa9329e3d959..38181cc6accbea6e844f2a050b615c012272db80 100644 (file)
@@ -61,3 +61,5 @@ memFreeBufFunc(size_t size)
 
 void * memAllocate(mem_type type) STUB_RETVAL(NULL)
 void memFree(void *p, int type) STUB
+void Mem::Init(void) STUB_NOP
+