comparison tests/test-getsockopt.c @ 17342:2dce3f29b1f5

test-getsockopt: avoid compiler warning test-getsockopt.c: In function 'main': test-getsockopt.c:48:5: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] * tests/test-getsockopt.c (includes): Ensure close is declared. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Mon, 04 Mar 2013 08:35:57 -0700
parents 3a09cc104f4c
children 344018b6e5d7
comparison
equal deleted inserted replaced
17341:6fbd3d9c1853 17342:2dce3f29b1f5
20 20
21 #include "signature.h" 21 #include "signature.h"
22 SIGNATURE_CHECK (getsockopt, int, (int, int, int, void *, socklen_t *)); 22 SIGNATURE_CHECK (getsockopt, int, (int, int, int, void *, socklen_t *));
23 23
24 #include <errno.h> 24 #include <errno.h>
25 #include <unistd.h>
25 26
26 #include "sockets.h" 27 #include "sockets.h"
27 #include "macros.h" 28 #include "macros.h"
28 29
29 int 30 int