[PATCH] include: fix missing extern in osmo_panic* declarations

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/.

Pablo Neira Ayuso pablo at gnumonks.org
Tue Apr 26 01:15:28 UTC 2011


On 26/04/11 03:07, pablo at gnumonks.org wrote:
> From: Pablo Neira Ayuso <pablo at gnumonks.orgt>
                                 ^^^^^^^^^^^^^

Two comments on this my own patch:

* This patch is so small that I didn't create a branch for it, so please
git-am it :-).

* Mangle my email, as you can notice I added .orgt instead of .org.

Thanks!

> This patch adds the missing extern to osmo_panic* declarations.
> ---
>  include/osmocom/core/panic.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/osmocom/core/panic.h b/include/osmocom/core/panic.h
> index c5a8377..c28a844 100644
> --- a/include/osmocom/core/panic.h
> +++ b/include/osmocom/core/panic.h
> @@ -5,7 +5,7 @@
>  
>  typedef void (*osmo_panic_handler_t)(const char *fmt, va_list args);
>  
> -void osmo_panic(const char *fmt, ...);
> -void osmo_set_panic_handler(osmo_panic_handler_t h);
> +extern void osmo_panic(const char *fmt, ...);
> +extern void osmo_set_panic_handler(osmo_panic_handler_t h);
>  
>  #endif





More information about the OpenBSC mailing list