]> The Tcpdump Group git mirrors - libpcap/commit
Use _declspec(deprecated(msg)) rather than __pragma(deprecated).
authorGuy Harris <[email protected]>
Tue, 23 Aug 2022 10:32:58 +0000 (03:32 -0700)
committerGuy Harris <[email protected]>
Sun, 28 Aug 2022 00:39:36 +0000 (17:39 -0700)
commite9aea798a6a700bde827a8cbb3ef01933ccd66fa
tree9d92f93e892c680dc160a671c4b71d515c509f35
parentbccc83b1ec359ac8528c8279bc7aa41b2a353134
Use _declspec(deprecated(msg)) rather than __pragma(deprecated).

_declspec(deprecated(msg)) doesn't require the function name, and takes
a message as an argument and causes it to be used as the warning/error
message for use of an undeclared function.

(cherry picked from commit c595ef58cf1bc66d475035966850f8b4e14ec175)
pcap/funcattrs.h
pcap/namedb.h
pcap/pcap.h