From 01817988f4631bdd8ee5cec9c6b69039712a93fe Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 23 Apr 2024 07:39:59 -0700 Subject: Move the rest of the functionality from platform.h into core. This also deprecates supplemental/util/platform.h. --- tests/pollfd.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'tests/pollfd.c') diff --git a/tests/pollfd.c b/tests/pollfd.c index 0c93c365..adb9d806 100644 --- a/tests/pollfd.c +++ b/tests/pollfd.c @@ -1,5 +1,5 @@ // -// Copyright 2018 Staysail Systems, Inc. +// Copyright 2024 Staysail Systems, Inc. // Copyright 2018 Capitar IT Group BV // // This software is supplied under the terms of the MIT License, a @@ -33,7 +33,6 @@ #include #include #include -#include #include "convey.h" #include "stubs.h" @@ -64,8 +63,8 @@ TestMain("Poll FDs", { Convey("And it is always the same fd", { int fd2; sz = sizeof(fd2); - So(nng_socket_get(s1, NNG_OPT_RECVFD, &fd2, &sz) == - 0); + So(nng_socket_get( + s1, NNG_OPT_RECVFD, &fd2, &sz) == 0); So(fd2 == fd); }); -- cgit v1.2.3-70-g09d2