diff options
author | Zack Weinberg <zackw@panix.com> | 2018-03-18 17:01:06 -0400 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2018-03-26 09:05:19 -0400 |
commit | f66704a937db50bbd78acc5c29f569b4c8e35d19 (patch) | |
tree | 92d261f99ff3346bffb3a61f6e788fe0daf6093e /resolv/compat-gethnamaddr.c | |
parent | 9ea49e16c79bd2acd0d0648ca0163f26dd1c3dae (diff) | |
download | glibc-zack/wip-check-localplt-2.tar glibc-zack/wip-check-localplt-2.tar.gz glibc-zack/wip-check-localplt-2.tar.bz2 glibc-zack/wip-check-localplt-2.zip |
WIP finer-grained, more aggressive local PLT call checkzack/wip-check-localplt-2
Diffstat (limited to 'resolv/compat-gethnamaddr.c')
-rw-r--r-- | resolv/compat-gethnamaddr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resolv/compat-gethnamaddr.c b/resolv/compat-gethnamaddr.c index 259378b2be..55b73255c1 100644 --- a/resolv/compat-gethnamaddr.c +++ b/resolv/compat-gethnamaddr.c @@ -91,7 +91,7 @@ static struct hostent *res_gethostbyname2_context (struct resolv_context *, static void map_v4v6_address (const char *src, char *dst) __THROW; static void map_v4v6_hostent (struct hostent *hp, char **bp, int *len) __THROW; -extern void addrsort (char **, int) __THROW; +static void addrsort (char **, int) __THROW; # if PACKETSZ > 65536 # define MAXPACKET PACKETSZ @@ -894,7 +894,7 @@ map_v4v6_hostent (struct hostent *hp, char **bpp, int *lenp) } } -extern void +static void addrsort (char **ap, int num) { int i, j; |