aboutsummaryrefslogtreecommitdiff
path: root/posix/tst-rfc3484.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/tst-rfc3484.c')
-rw-r--r--posix/tst-rfc3484.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/posix/tst-rfc3484.c b/posix/tst-rfc3484.c
index 8d273ae..2e74e97 100644
--- a/posix/tst-rfc3484.c
+++ b/posix/tst-rfc3484.c
@@ -64,9 +64,21 @@ static int expected[naddrs] =
};
+ssize_t
+__getline (char **lineptr, size_t *n, FILE *s)
+{
+ *lineptr = NULL;
+ *n = 0;
+ return 0;
+}
+
+
static int
do_test (void)
{
+ labels = default_labels;
+ precedence = default_precedence;
+
struct sockaddr_in so;
so.sin_family = AF_INET;
so.sin_addr.s_addr = h (0xc0a85f19);