Skip to content

Commit

Permalink
Deprecate pcap_dump_close
Browse files Browse the repository at this point in the history
  • Loading branch information
rigtorp committed Aug 25, 2021
1 parent b7b52e3 commit 361e738
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pcap/pcap.h
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,8 @@ PCAP_AVAILABLE_0_8
PCAP_API int pcap_dump_flush(pcap_dumper_t *);

PCAP_AVAILABLE_0_4
PCAP_API void pcap_dump_close(pcap_dumper_t *);
PCAP_API void pcap_dump_close(pcap_dumper_t *)
PCAP_DEPRECATED(pcap_dump_close, "use 'pcap_dump_close1'");

PCAP_AVAILABLE_1_11
PCAP_API int pcap_dump_close1(pcap_dumper_t *);
Expand Down

0 comments on commit 361e738

Please sign in to comment.