summaryrefslogtreecommitdiff
path: root/ui/cli
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-06-19 19:52:36 -0400
committerMichael Mann <mmann78@netscape.net>2015-06-21 12:00:05 +0000
commit7d70d3ea7006e764c61c4cbef19d091fc55ced7d (patch)
tree9c0b8d24fc25fbfb10a1c04a704a32dcdaad270b /ui/cli
parent649c48482efd41547ad6d6ee8264e05ddceec490 (diff)
downloadwireshark-7d70d3ea7006e764c61c4cbef19d091fc55ced7d.tar.gz
Remove now unneeded tap-srt.h
Change-Id: Ic625f5a0f8e3c4d70dd04f5e3eb7100fb54027e5 Reviewed-on: https://code.wireshark.org/review/8997 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/cli')
-rw-r--r--ui/cli/Makefile.common3
-rw-r--r--ui/cli/tap-srt.c4
-rw-r--r--ui/cli/tap-srt.h43
3 files changed, 3 insertions, 47 deletions
diff --git a/ui/cli/Makefile.common b/ui/cli/Makefile.common
index 60d9fcbf40..fef030038e 100644
--- a/ui/cli/Makefile.common
+++ b/ui/cli/Makefile.common
@@ -76,5 +76,4 @@ TSHARK_TAP_SRC = \
tap-wspstat.c
noinst_HEADERS = \
- tshark-tap.h \
- tap-srt.h
+ tshark-tap.h
diff --git a/ui/cli/tap-srt.c b/ui/cli/tap-srt.c
index ec9084021d..91c26f86d6 100644
--- a/ui/cli/tap-srt.c
+++ b/ui/cli/tap-srt.c
@@ -26,10 +26,10 @@
#include <string.h>
#include <epan/packet.h>
+#include <epan/srt_table.h>
#include <epan/timestamp.h>
#include <epan/stat_tap_ui.h>
#include <ui/cli/tshark-tap.h>
-#include <ui/cli/tap-srt.h>
#define NANOSECS_PER_SEC 1000000000
@@ -39,7 +39,7 @@ typedef struct _srt_t {
srt_data_t data;
} srt_t;
-void
+static void
draw_srt_table_data(srt_stat_table *rst, gboolean draw_footer)
{
int i;
diff --git a/ui/cli/tap-srt.h b/ui/cli/tap-srt.h
deleted file mode 100644
index 95f271ed55..0000000000
--- a/ui/cli/tap-srt.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/* tap-srt.h
- * TShark service_response_time_table based on GTK version by Ronnie Sahlberg
- * Helper routines common to all service response time statistics
- * tap.
- *
- * Wireshark - Network traffic analyzer
- * By Gerald Combs <gerald@wireshark.org>
- * Copyright 1998 Gerald Combs
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#ifndef __TAP_SRT_H__
-#define __TAP_SRT_H__
-
-#include "wsutil/nstime.h"
-#include "epan/srt_table.h"
-
-/** @file
- * Helper routines common to all service response time statistics tap.
- */
-
-/** Draw the srt table data.
- *
- * @param rst the srt table
- * @param draw_header draw the header
- * @param draw_footer draw the footer
- */
-void draw_srt_table_data(srt_stat_table *rst, gboolean draw_footer);
-
-#endif /* __TAP_SRT_H__ */