commit 119ab6647ee5db9b80ff99d2e2e281ac3b1470f2 from: Omar Polo date: Sun Jan 21 12:09:14 2024 UTC update imsg test: amused now needs the new APIs commit - ddaffed69d4fe7f814777d57bc373b2a40d4abb7 commit + 119ab6647ee5db9b80ff99d2e2e281ac3b1470f2 blob - e4bbd7417e0dbdd9846f1afe0dfffed92d2a7fca blob + 5937d86ac945f6f69d03789435c7048bf83afee3 --- tests.c +++ tests.c @@ -253,10 +253,12 @@ main(void) int main(void) { - struct imsgbuf ibuf; + struct imsgbuf imsgbuf; + struct imsg imsg; - imsg_init(&ibuf, 3); - imsg_clear(&ibuf); + imsg_init(&imsgbuf, 3); + imsg_clear(&imsgbuf); + imsg_get_fd(&imsg); return 0; } #endif /* TEST_LIB_IMSG */