diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | resolv/tst-resolv-qtypes.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2017-02-24 Stefan Liebler <stli@linux.vnet.ibm.com> + + * resolv/tst-resolv-qtypes.c (domain): + Change type to const pointer to const char. + 2017-02-24 Joseph Myers <joseph@codesourcery.com> * math/Makefile (libm-tests-generated): Remove variable. diff --git a/resolv/tst-resolv-qtypes.c b/resolv/tst-resolv-qtypes.c index dcb39e5..06ea3db 100644 --- a/resolv/tst-resolv-qtypes.c +++ b/resolv/tst-resolv-qtypes.c @@ -50,7 +50,7 @@ response (const struct resolv_response_context *ctx, resolv_response_close_record (b); } -static const const char *domain = "www.example.com"; +static const char * const domain = "www.example.com"; static int wrap_res_query (int type, unsigned char *answer, int answer_length) |