[PATCH] libosmocore[master]: Mark deprecated function as such

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Fri Jan 13 12:46:38 UTC 2017


Review at  https://gerrit.osmocom.org/1595

Mark deprecated function as such

Mark abis_nm_debugp_foh() function superseded by macro with the same
name as deprecated.

Change-Id: I2d3ea2b56aff6b687f72f832360b8cb8a24164e9
---
M src/gsm/abis_nm.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/95/1595/1

diff --git a/src/gsm/abis_nm.c b/src/gsm/abis_nm.c
index 73e3c7e..f392a90 100644
--- a/src/gsm/abis_nm.c
+++ b/src/gsm/abis_nm.c
@@ -597,7 +597,7 @@
 
 /* this is just for compatibility reasons, it is now a macro */
 #undef abis_nm_debugp_foh
-void abis_nm_debugp_foh(int ss, struct abis_om_fom_hdr *foh)
+void abis_nm_debugp_foh(int ss, struct abis_om_fom_hdr *foh) OSMO_DEPRECATED("Use abis_nm_debugp_foh macro instead")
 {
 	DEBUGP(ss, "OC=%s(%02x) INST=(%02x,%02x,%02x) ",
 		get_value_string(abis_nm_obj_class_names, foh->obj_class),

-- 
To view, visit https://gerrit.osmocom.org/1595
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2d3ea2b56aff6b687f72f832360b8cb8a24164e9
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list