1
0

patch-src_auth_time_c 759 B

1234567891011121314151617181920212223242526272829303132
  1. --- libtirpc-0.2.3.orig/src/auth_time.c 2013-02-13 16:13:59.000000000 +0100
  2. +++ libtirpc-0.2.3/src/auth_time.c 2014-03-22 13:20:53.000000000 +0100
  3. @@ -25,7 +25,6 @@
  4. * needed to deal with TCP connections.
  5. */
  6. -#include <sys/cdefs.h>
  7. #include <stdio.h>
  8. #include <syslog.h>
  9. #include <string.h>
  10. @@ -43,7 +42,7 @@
  11. //#include <clnt_soc.h>
  12. #include <sys/select.h>
  13. #undef NIS
  14. -#include <rpcsvc/nis.h>
  15. +//#include <rpcsvc/nis.h>
  16. #ifdef TESTING
  17. @@ -138,6 +137,7 @@ free_eps(eps, num)
  18. * NIS+ server will call __rpc_get_time_offset() with the nis_server
  19. * structure already populated.
  20. */
  21. +#ifdef 0
  22. static nis_server *
  23. get_server(sin, host, srv, eps, maxep)
  24. struct sockaddr_in *sin;
  25. @@ -491,3 +491,4 @@ error:
  26. return (time_valid);
  27. }
  28. +#endif