about summary refs log tree commit diff
path: root/resolv/arpa
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2022-06-24 19:38:14 +0200
committerFlorian Weimer <fweimer@redhat.com>2022-06-24 19:44:42 +0200
commit77536da3dea5af4d1859e4e754f07f47cf8d7d4c (patch)
tree1de1e8b97f5f8e40c01d1ee0946cbf30103c661d /resolv/arpa
parentf282cdbe7f436c75864e5640a409a10485e9abb2 (diff)
downloadglibc-77536da3dea5af4d1859e4e754f07f47cf8d7d4c.tar.gz
glibc-77536da3dea5af4d1859e4e754f07f47cf8d7d4c.tar.xz
glibc-77536da3dea5af4d1859e4e754f07f47cf8d7d4c.zip
resolv/tst-resolv-noaaaa: Support building for older C standards
This avoids a compilation error:

tst-resolv-noaaaa.c: In function 'response':
tst-resolv-noaaaa.c:74:11: error: a label can only be part of a statement and a declaration is not a statement
           char ipv4[4] = {192, 0, 2, i + 1};
           ^~~~
tst-resolv-noaaaa.c:79:11: error: a label can only be part of a statement and a declaration is not a statement
           char *name = xasprintf ("ptr-%d", i);
           ^~~~
Diffstat (limited to 'resolv/arpa')
0 files changed, 0 insertions, 0 deletions