From 78bfa877b36e8f33c99cbe9a16eb73f5a2adc0c8 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 7 Sep 2017 13:56:58 -0700 Subject: Use "static const char domain[] =" * resolv/tst-resolv-qtypes.c (domain): Changed to "const char domain[] =". --- resolv/tst-resolv-qtypes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resolv') diff --git a/resolv/tst-resolv-qtypes.c b/resolv/tst-resolv-qtypes.c index 06ea3db..da3325f 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 char * const domain = "www.example.com"; +static const char domain[] = "www.example.com"; static int wrap_res_query (int type, unsigned char *answer, int answer_length) -- cgit v1.1