diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-09-21 11:26:23 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-09-21 11:26:23 +0000 |
commit | 46b7430557193c4d724c38af35a868fa4ce36740 (patch) | |
tree | 319348038459321e3c67d25608c70c2d87f4b2e0 /rawshark.c | |
parent | 859bd0f8b25d7e3bf984d5be6ac27c16364e741e (diff) |
Move frame_data_init() declaration to frame_data.h
svn path=/trunk/; revision=30033
Diffstat (limited to 'rawshark.c')
-rw-r--r-- | rawshark.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/rawshark.c b/rawshark.c index d899dfeeba..ca61afe0a1 100644 --- a/rawshark.c +++ b/rawshark.c @@ -158,13 +158,6 @@ static void write_failure_message(const char *filename, int err); static void protocolinfo_init(char *field); static gboolean parse_field_string_format(char *format); -extern void frame_data_init(frame_data *fdata, capture_file *cf, - const struct wtap_pkthdr *phdr, gint64 offset, - guint32 *cum_bytes, - nstime_t *first_ts, - nstime_t *prev_dis_ts, - nstime_t *prev_cap_ts); - typedef enum { SF_NONE, /* No format (placeholder) */ SF_NAME, /* %D Field name / description */ @@ -1028,7 +1021,7 @@ process_packet(capture_file *cf, gint64 offset, const struct wtap_pkthdr *whdr, /* If we're going to print packet information, or we're going to run a read filter, or we're going to process taps, set up to do a dissection and do so. */ - frame_data_init(&fdata, cf, whdr, offset, + frame_data_init(&fdata, cf->count, &cf->elapsed_time, whdr, offset, &cum_bytes, &first_ts, &prev_dis_ts, &prev_cap_ts); passed = TRUE; |