tcp-wrappers-7.6.22-remove-DECLS.patch 475 B

1234567891011121314151617181920212223
  1. diff -Naur tcp_wrappers_7.6.orig/tcpd.h tcp_wrappers_7.6/tcpd.h
  2. --- tcp_wrappers_7.6.orig/tcpd.h 2014-03-24 18:39:52.000000000 +0000
  3. +++ tcp_wrappers_7.6/tcpd.h 2014-03-24 18:48:21.000000000 +0000
  4. @@ -11,7 +11,9 @@
  5. #include <netinet/in.h>
  6. #include <stdio.h>
  7. +#ifdef __cplusplus
  8. __BEGIN_DECLS
  9. +#endif
  10. /* Structure to describe one communications endpoint. */
  11. @@ -252,6 +254,8 @@
  12. extern char *my_strtok();
  13. #endif
  14. +#ifdef __cplusplus
  15. __END_DECLS
  16. +#endif
  17. #endif