[PATCH 2/2] logging: Remember the target we found

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/OpenBSC@lists.osmocom.org/.

Jacob Erlbeck jerlbeck at sysmocom.de
Tue Jan 5 12:53:18 UTC 2016


Hi,

On 21.12.2015 15:39, Holger Hans Peter Freyther wrote:
> From: Holger Hans Peter Freyther <holger at moiji-mobile.com>
> 
[...]
>  
>  /* use the above macros */
>  void logp2(int subsys, unsigned int level, const char *file,
> -	   int line, int cont, const char *format, ...)
> -				__attribute__ ((format (printf, 6, 7)));
> +	   int line, int cont, struct log_target *iniial_target,
> +	   const char *format, ...)
> +				__attribute__ ((format (printf, 7, 8)));

Note that this will break openbsc/src/ipaccess/ipaccess-proxy.c.

Jacob

-- 
- Jacob Erlbeck <jerlbeck at sysmocom.de>       http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Directors: Holger Freyther, Harald Welte



More information about the OpenBSC mailing list