projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refresh patches
[gnulib.git]
/
tests
/
test-inet_ntop.c
diff --git
a/tests/test-inet_ntop.c
b/tests/test-inet_ntop.c
index
71ba5c3
..
1a916e5
100644
(file)
--- a/
tests/test-inet_ntop.c
+++ b/
tests/test-inet_ntop.c
@@
-1,5
+1,5
@@
/* Test of inet_ntop function.
/* Test of inet_ntop function.
- Copyright (C) 2009 Free Software Foundation, Inc.
+ Copyright (C) 2009
-2013
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-20,23
+20,15
@@
#include <arpa/inet.h>
#include <arpa/inet.h>
+#include "signature.h"
+SIGNATURE_CHECK (inet_ntop, char const *, (int, void const *, char *,
+ socklen_t));
+
#include <netinet/in.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/socket.h>
-#include <stdio.h>
-#include <stdlib.h>
#include <string.h>
#include <string.h>
-#define ASSERT(expr) \
- do \
- { \
- if (!(expr)) \
- { \
- fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
- fflush (stderr); \
- abort (); \
- } \
- } \
- while (0)
+#include "macros.h"
int
main (void)
int
main (void)