patch-src_auth_time_c 607 B

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