aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/debug.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-05-23 20:59:55 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-05-23 20:59:55 +0800
commitd92f9aff809bff7507a20ee3473f328887456ebb (patch)
treed386f0d35700c595e9c080a1f44ec5414213c2cd /openbsc/include/openbsc/debug.h
parent972c1f33b9633cde2e238c23c287fde894d728fd (diff)
debug: Make GPRS params non-const to avoid compiler warning
Make log_set_nsvc_filter, log_set_bvc_filter take a non-const parameter as we are going to assign it to a non-const pointer.
Diffstat (limited to 'openbsc/include/openbsc/debug.h')
-rw-r--r--openbsc/include/openbsc/debug.h4
1 files changed, 2 insertions, 2 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;