]> git.ozlabs.org Git - ccan/blobdiff - ccan/antithread/test/run-tell_parent.c
endian: add constant versions.
[ccan] / ccan / antithread / test / run-tell_parent.c
index a38f8c913a35c21d614ac7cdbcff6b227dbb4838..d215a6709d88e796ad576aabd4107643e9b718f3 100644 (file)
@@ -1,6 +1,6 @@
-#include "antithread/antithread.c"
+#include <ccan/antithread/antithread.c>
 #include <assert.h>
-#include "tap/tap.h"
+#include <ccan/tap/tap.h>
 
 static void *test(struct at_pool *atp, int *pid)
 {
@@ -21,8 +21,8 @@ int main(int argc, char *argv[])
        assert(atp);
        pid = talloc(at_pool_ctx(atp), int);
        assert(pid);
-       ok1((char *)pid >= (char *)atp->pool
-           && (char *)pid < (char *)atp->pool + atp->poolsize);
+       ok1((char *)pid >= (char *)atp->p->pool
+           && (char *)pid < (char *)atp->p->pool + atp->p->poolsize);
        at = at_run(atp, test, pid);
        assert(at);