diff options
-rw-r--r-- | openbsc/include/openbsc/debug.h | 4 | ||||
-rw-r--r-- | openbsc/src/debug.c | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h index 8767c5391..de1e2e2c6 100644 --- a/openbsc/include/openbsc/debug.h +++ b/openbsc/include/openbsc/debug.h @@ -63,9 +63,9 @@ struct bssgp_bvc_ctx; void log_set_imsi_filter(struct log_target *target, const char *imsi); void log_set_nsvc_filter(struct log_target *target, - const struct gprs_nsvc *nsvc); + struct gprs_nsvc *nsvc); void log_set_bvc_filter(struct log_target *target, - const struct bssgp_bvc_ctx *bctx); + struct bssgp_bvc_ctx *bctx); extern const struct log_info log_info; diff --git a/openbsc/src/debug.c b/openbsc/src/debug.c index 2a67398b4..512935a20 100644 --- a/openbsc/src/debug.c +++ b/openbsc/src/debug.c @@ -222,8 +222,7 @@ void log_set_imsi_filter(struct log_target *target, const char *imsi) } } -void log_set_nsvc_filter(struct log_target *target, - const struct gprs_nsvc *nsvc) +void log_set_nsvc_filter(struct log_target *target, struct gprs_nsvc *nsvc) { if (nsvc) { target->filter_map |= (1 << FLT_NSVC); @@ -234,8 +233,7 @@ void log_set_nsvc_filter(struct log_target *target, } } -void log_set_bvc_filter(struct log_target *target, - const struct bssgp_bvc_ctx *bctx) +void log_set_bvc_filter(struct log_target *target, struct bssgp_bvc_ctx *bctx) { if (bctx) { target->filter_map |= (1 << FLT_BVC); |