Use "static const char domain[] ="
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 7 Sep 2017 20:56:58 +0000 (13:56 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 7 Sep 2017 20:57:15 +0000 (13:57 -0700)
* resolv/tst-resolv-qtypes.c (domain): Changed to
"const char domain[] =".

ChangeLog
resolv/tst-resolv-qtypes.c

index c9d1d84..50bf6a1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-09-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * resolv/tst-resolv-qtypes.c (domain): Changed to
+       "const char domain[] =".
+
 2017-09-07  Joseph Myers  <joseph@codesourcery.com>
 
        * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
index 06ea3db..da3325f 100644 (file)
@@ -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)