diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-05-22 15:46:27 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-05-22 15:46:27 +0000 |
commit | a5cee04fad8ca23a2f3a3ac5b5233ca6b01fe71e (patch) | |
tree | 65a7d5c702bf3392494b33ddd7ed43c94e491670 /capture_opts.c | |
parent | da2f447a9bda3a05dd8e61b1c1f5dea4b5912f6b (diff) | |
download | wireshark-a5cee04fad8ca23a2f3a3ac5b5233ca6b01fe71e.tar.gz wireshark-a5cee04fad8ca23a2f3a3ac5b5233ca6b01fe71e.tar.bz2 wireshark-a5cee04fad8ca23a2f3a3ac5b5233ca6b01fe71e.zip |
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_*.
svn path=/trunk/; revision=25354
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)) |