diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2021-09-29 15:22:28 +0200 |
---|---|---|
committer | neels <nhofmeyr@sysmocom.de> | 2021-09-30 18:33:43 +0000 |
commit | 137efc9b1834d60569b676481360429be5de7509 (patch) | |
tree | 23a1344f1d56608d4bbc5cd8758981592781e3b6 /include/osmocom/core | |
parent | 6a5940740a776fcb2ea2e4c8aecbe43c1594e3b1 (diff) |
cosmetic: get rid of 3 deprecation warnings
Some deprecated functions are still used in libosmocore .c code. Use
OSMO_DEPRECATED_OUTSIDE() to get rid of those "resident warnings".
Change-Id: I6e79acc87be37ac1aaec900e737e41450b46826a
Diffstat (limited to 'include/osmocom/core')
-rw-r--r-- | include/osmocom/core/counter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/core/counter.h b/include/osmocom/core/counter.h index dc627918..0d56bc4a 100644 --- a/include/osmocom/core/counter.h +++ b/include/osmocom/core/counter.h @@ -31,7 +31,7 @@ static inline void osmo_counter_inc(struct osmo_counter *ctr) } /*! Get current value of counter */ -OSMO_DEPRECATED("Implement as osmo_stat_item instead") +OSMO_DEPRECATED_OUTSIDE("Implement as osmo_stat_item instead") static inline unsigned long osmo_counter_get(struct osmo_counter *ctr) { return ctr->value; |