mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-13 00:30:07 +00:00
* resolv/res_debug.c (loc_ntoa): Define error as array, not pointer.
This commit is contained in:
parent
08cfb83947
commit
5d3fd1f641
@ -1,5 +1,7 @@
|
||||
2006-05-11 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* resolv/res_debug.c (loc_ntoa): Define error as array, not pointer.
|
||||
|
||||
* include/arpa/nameser.h: Declare _ns_flagdata as hidden.
|
||||
|
||||
* nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_master.
|
||||
|
@ -896,7 +896,7 @@ loc_ntoa(binary, ascii)
|
||||
const u_char *binary;
|
||||
char *ascii;
|
||||
{
|
||||
static char *error = "?";
|
||||
static char error[] = "?";
|
||||
static char tmpbuf[sizeof
|
||||
"1000 60 60.000 N 1000 60 60.000 W -12345678.00m 90000000.00m 90000000.00m 90000000.00m"];
|
||||
const u_char *cp = binary;
|
||||
|
Loading…
Reference in New Issue
Block a user