We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 072c444 commit c2888a6Copy full SHA for c2888a6
contrib/plugins/cache.c
@@ -469,7 +469,7 @@ static int icmp(gconstpointer a, gconstpointer b)
469
return insn_a->imisses < insn_b->imisses ? 1 : -1;
470
}
471
472
-static void log_stats()
+static void log_stats(void)
473
{
474
g_autoptr(GString) rep = g_string_new("");
475
g_string_append_printf(rep,
@@ -487,7 +487,7 @@ static void log_stats()
487
qemu_plugin_outs(rep->str);
488
489
490
-static void log_top_insns()
+static void log_top_insns(void)
491
492
int i;
493
GList *curr, *miss_insns;
@@ -536,7 +536,7 @@ static void plugin_exit(qemu_plugin_id_t id, void *p)
536
g_hash_table_destroy(miss_ht);
537
538
539
-static void policy_init()
+static void policy_init(void)
540
541
switch (policy) {
542
case LRU:
0 commit comments