]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
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 21:04:15 +0000 (14:04 -0700)
* resolv/tst-resolv-qtypes.c (domain): Changed to
"const char domain[] =".

(cherry picked from commit 78bfa877b36e8f33c99cbe9a16eb73f5a2adc0c8)

ChangeLog
resolv/tst-resolv-qtypes.c

index c48bdb62652dcfa33964a52c098e033181fdec18..62f3a35603ba5dbfa9db11099f6d6b7690daae24 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-08-31  H.J. Lu  <hongjiu.lu@intel.com>
 
        [BZ #22051]
index dcb39e505ed84d27c8ce923cf962d5877dbc1ff0..da3325f80cfcee3e4e1e7c6d596e0183b6c016fe 100644 (file)
@@ -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 domain[] = "www.example.com";
 
 static int
 wrap_res_query (int type, unsigned char *answer, int answer_length)