diff options
author | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-05-22 15:46:27 +0000 |
---|---|---|
committer | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-05-22 15:46:27 +0000 |
commit | 440ebe03d7ad360327a5752cd79879956f6aea8d (patch) | |
tree | 65a7d5c702bf3392494b33ddd7ed43c94e491670 /capture_opts.c | |
parent | 04d3d6b976e89f301cb6b79c3fd81d823d6a32c7 (diff) |
Move the file utility functions from wiretap to libwsutil so that
libwireshark (and the plugins using those functions) do not depend on
wiretap on Windows.
While doing that, rename the eth_* functions to ws_*.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25354 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture_opts.c')
-rw-r--r-- | capture_opts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/capture_opts.c b/capture_opts.c index b39d368dea..b75cf5affe 100644 --- a/capture_opts.c +++ b/capture_opts.c @@ -69,7 +69,7 @@ #include "cmdarg_err.h" #include "capture-pcap-util.h" -#include <wiretap/file_util.h> +#include <wsutil/file_util.h> typedef struct { char *name; @@ -877,7 +877,7 @@ static int capture_opts_test_for_fifo(const char *path) { struct stat statb; - if (eth_stat(path, &statb) < 0) + if (ws_stat(path, &statb) < 0) return errno; if (S_ISFIFO(statb.st_mode)) |