summaryrefslogtreecommitdiff
path: root/tests/can_set_rfmon_test.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-10-31 16:43:46 -0700
committerGuy Harris <guy@alum.mit.edu>2017-10-31 16:43:46 -0700
commitee4e10fc6a5a9f97438284758c02e64131b03a01 (patch)
tree6788b63d9811a6e10d7cb4fa92c5caba2d45794f /tests/can_set_rfmon_test.c
parenta16ca2786d56bff6cab41dd1542a387c77bb7370 (diff)
downloadlibpcap-ee4e10fc6a5a9f97438284758c02e64131b03a01.tar.gz
Handle fopen() and fopen_s() differently.
If we have fopen_s(), define pcap_fopen as fopen_s(). Otherwise, have a pcap_fopen() routine, which is a wrapper for fopen() and has the same signature as fopen_s(). Use pcap_fopen() - and don't worry about "b" in the mode argument, it's required by C90.
Diffstat (limited to 'tests/can_set_rfmon_test.c')
0 files changed, 0 insertions, 0 deletions