From: Pablo Neira Ayuso pablo@gnumonks.orgt
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
On 26/04/11 03:07, pablo@gnumonks.org wrote:
From: Pablo Neira Ayuso pablo@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
On Tue, Apr 26, 2011 at 03:07:46AM +0200, pablo@gnumonks.org wrote:
From: Pablo Neira Ayuso pablo@gnumonks.orgt
This patch adds the missing extern to osmo_panic* declarations.
thanks, applied (with fix to typo in email address)