From 480089435746411ac973cc2d3146be6f7317ec5f Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 15 Jul 2014 13:15:27 -0700 Subject: Cleanup the "export PDU" common code. exp_pdu_file_open() isn't used outside ui/tap_export_pdu.c; make it static. do_export_pdu() isn't a tap routine, it's called *from* tap routines, so its last argument doesn't need to be a generic pointer; its last argument must be a pointer to an exp_pdu_t, so declare it as such. Clean up comments while we're at it. Change-Id: Iab51b54a0c272052d7876110a095f2fff66fa2c1 Reviewed-on: https://code.wireshark.org/review/3060 Reviewed-by: Guy Harris --- ui/gtk/export_pdu_dlg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/gtk/export_pdu_dlg.c') diff --git a/ui/gtk/export_pdu_dlg.c b/ui/gtk/export_pdu_dlg.c index b44232c814..1cc1b979e5 100644 --- a/ui/gtk/export_pdu_dlg.c +++ b/ui/gtk/export_pdu_dlg.c @@ -1,5 +1,5 @@ /* export_pdu_dlg.c - * Routines for exporting PDU:s to file + * Dialog for exporting PDUs to file * * Wireshark - Network traffic analyzer * By Gerald Combs -- cgit v1.2.3