From 26bf5a1029434c98db85947eed11ce3090b2f5db Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 19 Jun 2017 13:17:03 +0200 Subject: resolv: Move res_randomid to its own file --- resolv/res_init.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'resolv/res_init.c') 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() -- cgit v1.2.1