diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-09-07 13:56:58 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-09-07 13:57:15 -0700 |
commit | 78bfa877b36e8f33c99cbe9a16eb73f5a2adc0c8 (patch) | |
tree | 1e6a4e7de4ab9170beaf1a21ce8a268dc30f7e6a /resolv | |
parent | 85bec0f2a03bc0a1623b69622005ea4af9331395 (diff) | |
download | glibc-78bfa877b36e8f33c99cbe9a16eb73f5a2adc0c8.tar glibc-78bfa877b36e8f33c99cbe9a16eb73f5a2adc0c8.tar.gz glibc-78bfa877b36e8f33c99cbe9a16eb73f5a2adc0c8.tar.bz2 glibc-78bfa877b36e8f33c99cbe9a16eb73f5a2adc0c8.zip |
Use "static const char domain[] ="
* resolv/tst-resolv-qtypes.c (domain): Changed to
"const char domain[] =".
Diffstat (limited to 'resolv')
-rw-r--r-- | resolv/tst-resolv-qtypes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/tst-resolv-qtypes.c b/resolv/tst-resolv-qtypes.c index 06ea3dbd14..da3325f80c 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) |