aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--file.h4
-rw-r--r--gtk/export_object.h2
-rw-r--r--gtk/export_object_smb.c2
-rw-r--r--gtk/file_import_dlg.c2
-rw-r--r--gtk/main_welcome.c2
-rw-r--r--gtk/new_packet_list.c4
-rw-r--r--gtk/text_import.h2
7 files changed, 9 insertions, 9 deletions
diff --git a/file.h b/file.h
index b4883cd5fd..842e48608a 100644
--- a/file.h
+++ b/file.h
@@ -478,14 +478,14 @@ gboolean cf_find_packet_time_reference(capture_file *cf, search_direction dir);
*
* @return TRUE if the first row exists, FALSE otherwise
*/
-gboolean cf_goto_top_frame();
+gboolean cf_goto_top_frame(void);
/**
* GoTo Packet in last row.
*
* @return TRUE if last row exists, FALSE otherwise
*/
-gboolean cf_goto_bottom_frame();
+gboolean cf_goto_bottom_frame(void);
/**
* GoTo Packet with the given row.
diff --git a/gtk/export_object.h b/gtk/export_object.h
index eba4cdd175..7ecdf36b19 100644
--- a/gtk/export_object.h
+++ b/gtk/export_object.h
@@ -53,7 +53,7 @@ export objects, then it must specifiy a function that cleans up all
those data structures. This function is passed to export_object_window
and called when tap reset or windows closes occurs. If no function is needed
a NULL value should be passed instead */
-typedef void (*eo_protocoldata_reset_cb)();
+typedef void (*eo_protocoldata_reset_cb)(void);
void export_object_window(const gchar *tapname, const gchar *name,
diff --git a/gtk/export_object_smb.c b/gtk/export_object_smb.c
index e2795c6f99..2f183e266c 100644
--- a/gtk/export_object_smb.c
+++ b/gtk/export_object_smb.c
@@ -419,7 +419,7 @@ eo_smb_packet(void *tapdata, packet_info *pinfo, epan_dissect_t *edt _U_, const
to cleanup any previous private data of the export object functionality before perform
the eo_reset function or when the window closes */
void
-eo_smb_cleanup()
+eo_smb_cleanup(void)
{
int i,last;
active_file *in_list_file;
diff --git a/gtk/file_import_dlg.c b/gtk/file_import_dlg.c
index 778be7caf4..2c49e221fc 100644
--- a/gtk/file_import_dlg.c
+++ b/gtk/file_import_dlg.c
@@ -822,7 +822,7 @@ file_import_ok_cb(GtkWidget *widget _U_, gpointer data)
* Dialog creator
*/
static GtkWidget *
-file_import_dlg_new()
+file_import_dlg_new(void)
{
GtkWidget *main_w, *main_vb,
*input_frm, *input_tb, *input_vb,
diff --git a/gtk/main_welcome.c b/gtk/main_welcome.c
index cede99cc1d..b2bbb02f64 100644
--- a/gtk/main_welcome.c
+++ b/gtk/main_welcome.c
@@ -651,7 +651,7 @@ welcome_if_new(const if_info_t *if_info, const gchar *user_descr, GdkColor *topi
/* load the sorted list of interfaces */
static GList *
-welcome_if_panel_get_if_list()
+welcome_if_panel_get_if_list(void)
{
GList *if_list;
int err;
diff --git a/gtk/new_packet_list.c b/gtk/new_packet_list.c
index 05cd8cd502..d9ddd6e093 100644
--- a/gtk/new_packet_list.c
+++ b/gtk/new_packet_list.c
@@ -1516,7 +1516,7 @@ new_packet_list_unmark_all_displayed_frames_cb(GtkWidget *w _U_, gpointer data _
}
static void
-toggle_mark_all_displayed_frames()
+toggle_mark_all_displayed_frames(void)
{
/* XXX: we might need a progressbar here */
guint32 framenum;
@@ -1617,7 +1617,7 @@ new_packet_list_unignore_all_frames_cb(GtkWidget *w _U_, gpointer data _U_)
static void
-untime_reference_all_frames()
+untime_reference_all_frames(void)
{
/* XXX: we might need a progressbar here */
guint32 framenum;
diff --git a/gtk/text_import.h b/gtk/text_import.h
index f85daef519..c64d462665 100644
--- a/gtk/text_import.h
+++ b/gtk/text_import.h
@@ -82,6 +82,6 @@ typedef struct
} text_import_info_t;
void text_import_setup(text_import_info_t *info);
-void text_import_cleanup();
+void text_import_cleanup(void);
#endif