aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/gsm_map_stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gsm_map_stat.c')
-rw-r--r--gtk/gsm_map_stat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gsm_map_stat.c b/gtk/gsm_map_stat.c
index 85831314fe..691cf57f65 100644
--- a/gtk/gsm_map_stat.c
+++ b/gtk/gsm_map_stat.c
@@ -439,8 +439,8 @@ gsm_map_stat_gtk_cb(
static void
-gsm_map_stat_gtk_init(
- const char *optarg _U_)
+gsm_map_stat_gtk_init(const char *optarg _U_,
+ void* userdata _U_)
{
gsm_map_stat_gtk_cb(NULL, NULL);
}
@@ -470,5 +470,5 @@ register_tap_listener_gtkgsm_map_stat(void)
register_stat_menu_item("GSM/MAP Operation", REGISTER_STAT_GROUP_TELEPHONY,
gsm_map_stat_gtk_cb, NULL, NULL, NULL);
- register_stat_cmd_arg("gsm_map", gsm_map_stat_gtk_init);
+ register_stat_cmd_arg("gsm_map", gsm_map_stat_gtk_init,NULL);
}