1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-23 15:01:03 +03:00

Use "static const char domain[] ="

* resolv/tst-resolv-qtypes.c (domain): Changed to
	"const char domain[] =".
This commit is contained in:
H.J. Lu
2017-09-07 13:56:58 -07:00
parent 85bec0f2a0
commit 78bfa877b3
2 changed files with 6 additions and 1 deletions

View 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)