1
0

patch-src_traceroute_h 993 B

1234567891011121314151617181920212223242526
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- ndisc6-0.9.8.orig/src/traceroute.h 2008-05-01 14:52:28.000000000 +0200
  3. +++ ndisc6-0.9.8/src/traceroute.h 2009-05-10 19:23:51.000000000 +0200
  4. @@ -24,9 +24,9 @@
  5. typedef ssize_t (*trace_send_t) (int fd, unsigned ttl, unsigned n,
  6. size_t plen, uint16_t port);
  7. -typedef ssize_t (*trace_parser_t) (const void *restrict data, size_t len,
  8. - int *restrict ttl,
  9. - unsigned *restrict n, uint16_t port);
  10. +typedef ssize_t (*trace_parser_t) (const data, size_t len,
  11. + int ttl,
  12. + unsigned n, uint16_t port);
  13. typedef struct tracetype
  14. {
  15. @@ -34,7 +34,8 @@ typedef struct tracetype
  16. int protocol;
  17. int checksum_offset;
  18. trace_send_t send_probe;
  19. - trace_parser_t parse_resp, parse_err;
  20. + trace_parser_t parse_resp;
  21. + trace_parser_t parse_err;
  22. } tracetype;
  23. # ifdef __cplusplus