summaryrefslogtreecommitdiff
path: root/package/libtirpc/patches/patch-src_auth_time_c
blob: 5ce7de4192d1c38a0a35d3e0b66a0a729efa2848 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- libtirpc-0.2.2.orig/src/auth_time.c	2011-05-02 14:10:40.000000000 +0200
+++ libtirpc-0.2.2/src/auth_time.c	2012-03-22 19:02:30.422855534 +0100
@@ -43,7 +43,7 @@
 //#include <clnt_soc.h>
 #include <sys/select.h>
 #undef NIS
-#include <rpcsvc/nis.h>
+//#include <rpcsvc/nis.h>
 
 
 #ifdef TESTING
@@ -138,6 +138,7 @@ free_eps(eps, num)
  * NIS+ server will call __rpc_get_time_offset() with the nis_server
  * structure already populated.
  */
+#ifdef 0
 static nis_server *
 get_server(sin, host, srv, eps, maxep)
 	struct sockaddr_in *sin;
@@ -491,3 +492,4 @@ error:
 
 	return (time_valid);
 }
+#endif