pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/30901 )
Change subject: Move LOGGSUBSCRP to gprs_subscriber.h ......................................................................
Move LOGGSUBSCRP to gprs_subscriber.h
The define belongs to gprs_subscriber.h header.
Change-Id: Icdb7e55ca8e90dd2ba79ccdb1a8ba650a3942ab3 --- M include/osmocom/sgsn/gprs_sgsn.h M include/osmocom/sgsn/gprs_subscriber.h 2 files changed, 5 insertions(+), 5 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/01/30901/1
diff --git a/include/osmocom/sgsn/gprs_sgsn.h b/include/osmocom/sgsn/gprs_sgsn.h index 424e16f..c9e301d 100644 --- a/include/osmocom/sgsn/gprs_sgsn.h +++ b/include/osmocom/sgsn/gprs_sgsn.h @@ -306,11 +306,6 @@
#define SGSN_ERROR_CAUSE_NONE (-1)
-#define LOGGSUBSCRP(level, subscr, fmt, args...) \ - LOGP(DGPRS, level, "SUBSCR(%s) " fmt, \ - (subscr) ? (subscr)->imsi : "---", \ - ## args) - struct sgsn_config; struct sgsn_instance; extern const struct value_string *sgsn_auth_state_names; diff --git a/include/osmocom/sgsn/gprs_subscriber.h b/include/osmocom/sgsn/gprs_subscriber.h index d84a5d6..78de64a 100644 --- a/include/osmocom/sgsn/gprs_subscriber.h +++ b/include/osmocom/sgsn/gprs_subscriber.h @@ -99,3 +99,8 @@ void gprs_subscr_update(struct gprs_subscr *subscr); void gprs_subscr_update_auth_info(struct gprs_subscr *subscr); int gprs_subscr_rx_gsup_message(struct msgb *msg); + +#define LOGGSUBSCRP(level, subscr, fmt, args...) \ + LOGP(DGPRS, level, "SUBSCR(%s) " fmt, \ + (subscr) ? (subscr)->imsi : "---", \ + ## args)