Changed TRUE->true and FALSE->false for C99 compliance.

This commit is contained in:
akchu
2004-10-03 16:58:30 +00:00
parent 4aa922fe63
commit 49d79a3969
+2 -2
View File
@@ -80,13 +80,13 @@ bool ct_addTestFunction(Test* pTest, TestFunc tfun)
realloc(pTest->pTestFuns, realloc(pTest->pTestFuns,
newSize * sizeof(TestFunc)); newSize * sizeof(TestFunc));
if (!new_pTestFuns) if (!new_pTestFuns)
return FALSE; return false;
pTest->pTestFuns = new_pTestFuns; pTest->pTestFuns = new_pTestFuns;
pTest->maxTests += CHUNK; pTest->maxTests += CHUNK;
} }
assert(pTest->nTests < pTest->maxTests); assert(pTest->nTests < pTest->maxTests);
pTest->pTestFuns[pTest->nTests++] = tfun; pTest->pTestFuns[pTest->nTests++] = tfun;
return TRUE; return true;
} }
void ct_setStream(Test* pTest, FILE* pStream) void ct_setStream(Test* pTest, FILE* pStream)