diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2006-02-11 13:05:24 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2006-02-11 13:05:24 +0000 |
commit | fcf7b3789cec5595880d27e0109387e2d8733b38 (patch) | |
tree | 04149b75555afc2d39791e321970f76b1bcaca38 /tap-gsm_astat.c | |
parent | ca970e37571a3a39d6fc257c899ffacc25222269 (diff) |
add an userdata argument to register_stat_cmd_arg() and its callback to use the callback for multiple registrations.
svn path=/trunk/; revision=17252
Diffstat (limited to 'tap-gsm_astat.c')
-rw-r--r-- | tap-gsm_astat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tap-gsm_astat.c b/tap-gsm_astat.c index 3d90d7c45d..f461e0d5f5 100644 --- a/tap-gsm_astat.c +++ b/tap-gsm_astat.c @@ -270,7 +270,7 @@ gsm_a_stat_draw( static void -gsm_a_stat_init(const char *optarg _U_) +gsm_a_stat_init(const char *optarg _U_,void* userdata _U_) { gsm_a_stat_t *stat_p; GString *err_p; @@ -298,5 +298,5 @@ gsm_a_stat_init(const char *optarg _U_) void register_tap_listener_gsm_astat(void) { - register_stat_cmd_arg("gsm_a,", gsm_a_stat_init); + register_stat_cmd_arg("gsm_a,", gsm_a_stat_init,NULL); } |