aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--color_filters.c2
-rw-r--r--epan/funnel.c2
-rw-r--r--epan/packet.c4
-rw-r--r--epan/wslua/init_wslua.c2
-rw-r--r--file.c4
-rw-r--r--gtk/prefs_stream.c2
-rw-r--r--gtk/sctp_stat_dlg.c4
-rw-r--r--print.c2
-rw-r--r--u3.c6
9 files changed, 14 insertions, 14 deletions
diff --git a/color_filters.c b/color_filters.c
index 267a5ba6a5..2c21bfb14b 100644
--- a/color_filters.c
+++ b/color_filters.c
@@ -201,7 +201,7 @@ color_filters_set_tmp(guint8 filt_nr, gchar *filter, gboolean disabled)
/* Reset the temporary colorfilters */
void
-color_filters_reset_tmp()
+color_filters_reset_tmp(void)
{
guint8 i;
diff --git a/epan/funnel.c b/epan/funnel.c
index 83a74afee9..7ba4142c0c 100644
--- a/epan/funnel.c
+++ b/epan/funnel.c
@@ -44,7 +44,7 @@ typedef struct _funnel_menu_t {
static const funnel_ops_t* ops = NULL;
static funnel_menu_t* menus = NULL;
-const funnel_ops_t* funnel_get_funnel_ops() { return ops; }
+const funnel_ops_t* funnel_get_funnel_ops(void) { return ops; }
void funnel_set_funnel_ops(const funnel_ops_t* o) { ops = o; }
void funnel_register_menu(const char *name,
diff --git a/epan/packet.c b/epan/packet.c
index 2ea73b77d8..a6e78f05ba 100644
--- a/epan/packet.c
+++ b/epan/packet.c
@@ -1902,7 +1902,7 @@ dissector_dump_decodes_display(const gchar *table_name,
}
void
-dissector_dump_decodes()
+dissector_dump_decodes(void)
{
dissector_all_tables_foreach(dissector_dump_decodes_display, NULL);
}
@@ -1921,7 +1921,7 @@ register_postdissector(dissector_handle_t handle)
}
gboolean
-have_postdissector()
+have_postdissector(void)
{
guint i;
dissector_handle_t handle;
diff --git a/epan/wslua/init_wslua.c b/epan/wslua/init_wslua.c
index 33281421f3..15f192a7d7 100644
--- a/epan/wslua/init_wslua.c
+++ b/epan/wslua/init_wslua.c
@@ -436,5 +436,5 @@ int wslua_init(lua_State* LS) {
return 0;
}
-lua_State* wslua_state() { return L; }
+lua_State* wslua_state(void) { return L; }
diff --git a/file.c b/file.c
index b114844a6c..afdaa0d410 100644
--- a/file.c
+++ b/file.c
@@ -3379,7 +3379,7 @@ cf_goto_frame(capture_file *cf, guint fnumber)
}
gboolean
-cf_goto_top_frame()
+cf_goto_top_frame(void)
{
/* Find and select */
new_packet_list_select_first_row();
@@ -3387,7 +3387,7 @@ cf_goto_top_frame()
}
gboolean
-cf_goto_bottom_frame()
+cf_goto_bottom_frame(void)
{
/* Find and select */
new_packet_list_select_last_row();
diff --git a/gtk/prefs_stream.c b/gtk/prefs_stream.c
index a469bde9d0..64449234e3 100644
--- a/gtk/prefs_stream.c
+++ b/gtk/prefs_stream.c
@@ -65,7 +65,7 @@ static void update_current_color(GtkWidget *, gpointer);
static GdkColor tcolors[MAX_IDX], *curcolor = NULL;
GtkWidget *
-stream_prefs_show()
+stream_prefs_show(void)
{
GtkWidget *main_vb, *main_tb, *label, *combo_box;
GtkWidget *sample, *colorsel;
diff --git a/gtk/sctp_stat_dlg.c b/gtk/sctp_stat_dlg.c
index 744d1bb960..948dcf650d 100644
--- a/gtk/sctp_stat_dlg.c
+++ b/gtk/sctp_stat_dlg.c
@@ -294,13 +294,13 @@ dlg_destroy(GtkWidget *w _U_, gpointer user_data _U_)
}
void
-decrease_analyse_childcount()
+decrease_analyse_childcount(void)
{
n_children--;
}
void
-increase_analyse_childcount()
+increase_analyse_childcount(void)
{
n_children++;
}
diff --git a/print.c b/print.c
index bc5b5ac05a..1fbaf1acfa 100644
--- a/print.c
+++ b/print.c
@@ -1285,7 +1285,7 @@ print_stream_ps_stdio_new(FILE *fh)
return print_stream_ps_alloc(TRUE, fh);
}
-output_fields_t* output_fields_new()
+output_fields_t* output_fields_new(void)
{
output_fields_t* fields = g_new(output_fields_t, 1);
fields->print_header = FALSE;
diff --git a/u3.c b/u3.c
index ec15202540..e26731e288 100644
--- a/u3.c
+++ b/u3.c
@@ -61,7 +61,7 @@ static gchar *newpath = NULL;
static char *u3_change_path(char *path, const char *old, const char *new);
-gboolean u3_active()
+gboolean u3_active(void)
{
return (
@@ -108,7 +108,7 @@ void u3_runtime_info(GString *str)
}
-void u3_register_pid()
+void u3_register_pid(void)
{
int pid;
int pid_fd;
@@ -142,7 +142,7 @@ void u3_register_pid()
}
-void u3_deregister_pid()
+void u3_deregister_pid(void)
{
if(pid_file) {
/* we don't care if we succeed or fail - u3utils may have deleted the file */