diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-06-19 13:17:03 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-06-19 14:24:23 +0200 |
commit | 26bf5a1029434c98db85947eed11ce3090b2f5db (patch) | |
tree | ac6a5be650ca621c02a4a492077463369f52c3fd /resolv/res_init.c | |
parent | ca3d65ff69d5187cb4d6b7f81d414427c7007e22 (diff) | |
download | glibc-26bf5a1029434c98db85947eed11ce3090b2f5db.tar.gz glibc-26bf5a1029434c98db85947eed11ce3090b2f5db.tar.xz glibc-26bf5a1029434c98db85947eed11ce3090b2f5db.zip |
resolv: Move res_randomid to its own file
Diffstat (limited to 'resolv/res_init.c')
-rw-r--r-- | resolv/res_init.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/resolv/res_init.c b/resolv/res_init.c index 57223b470a..ef2e7c0db4 100644 --- a/resolv/res_init.c +++ b/resolv/res_init.c @@ -479,13 +479,6 @@ net_mask (struct in_addr in) return (htonl(IN_CLASSC_NET)); } -u_int -res_randomid(void) { - return 0xffff & __getpid(); -} -libc_hidden_def (__res_randomid) - - /* * This routine is for closing the socket if a virtual circuit is used and * the program wants to close it. This provides support for endhostent() |