Fixed the build. It works so far!
This commit is contained in:
parent
c269d1f6bc
commit
a23bd0f786
|
@ -150,22 +150,27 @@ struct baseParams {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
static void runArgsSubtests(struct baseParams *p)
|
static void runArgsSubtests(struct baseParams *p)
|
||||||
Test(xxxx_Args)
|
Te_st(xxxx_Args)
|
||||||
testImpl(xxxxx, true, NULL, (&p))
|
testImpl(xxxxx, true, NULL, (&p))
|
||||||
Test(xxxx_NoArgs)
|
Te_st(xxxx_NoArgs)
|
||||||
testImpl(xxxxx, true, NULL, NULL)
|
testImpl(xxxxx, true, NULL, NULL)
|
||||||
|
|
||||||
static void runGlobalSubtests(struct baseParams *p)
|
static void runGlobalSubtests(struct baseParams *p)
|
||||||
Test(xxxx_Global_Args)
|
Te_st(xxxx_Global_Args)
|
||||||
testImpl(xxxx, true, NULL, (&p))
|
testImpl(xxxx, true, NULL, (&p))
|
||||||
Test(xxxx_Global_NoArgs)
|
Te_st(xxxx_Global_NoArgs)
|
||||||
testImpl(xxxxx, true, NULL, NULL)
|
testImpl(xxxxx, true, NULL, NULL)
|
||||||
Test(xxxx_Nonglobal_Args)
|
Te_st(xxxx_Nonglobal_Args)
|
||||||
testImpl(xxxxx, false, (&p), (&p))
|
testImpl(xxxxx, false, (&p), (&p))
|
||||||
Test(xxxx_Nonglobal_NoArgs)
|
Te_st(xxxx_Nonglobal_NoArgs)
|
||||||
testImpl(xxxxx, false, (&p), NULL)
|
testImpl(xxxxx, false, (&p), NULL)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
static void deferEventFree(void *data)
|
||||||
|
{
|
||||||
|
uiEventFree((uiEvent *) data);
|
||||||
|
}
|
||||||
|
|
||||||
static void deferUnregisterHandler(void *data)
|
static void deferUnregisterHandler(void *data)
|
||||||
{
|
{
|
||||||
unregisterHandler((struct handler *) data);
|
unregisterHandler((struct handler *) data);
|
||||||
|
|
|
@ -50,7 +50,7 @@ void TestDefer(void (*f)(void *data), void *data)
|
||||||
struct defer *d;
|
struct defer *d;
|
||||||
|
|
||||||
d = (struct defer *) malloc(sizeof (struct defer));
|
d = (struct defer *) malloc(sizeof (struct defer));
|
||||||
if (d != NULL) {
|
if (d == NULL) {
|
||||||
fprintf(stderr, "** internal error: memory exhausted in TestDefer()\n");
|
fprintf(stderr, "** internal error: memory exhausted in TestDefer()\n");
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue