ensure first_log isn't null after append

This commit is contained in:
jlamothe
2023-11-11 21:36:05 +00:00
parent c0f28d41b0
commit 9f4a51d8c7
3 changed files with 52 additions and 5 deletions

View File

@@ -48,8 +48,16 @@ extern void chk_int_eq(
extern void chk_ptr_eq(
TestState *,
const char *, // the error context
void *, // the actual value
void * // the expected value
const void *, // the actual value
const void * // the expected value
);
// ensure two pointers are not equal
extern void chk_ptr_ne(
TestState *,
const char *, // the error context
const void *, // the actual value
const void * // the prohibited value
);
//jl