[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 at gnumonks.org pablo at gnumonks.org
Tue Apr 26 01:07:46 UTC 2011


From: Pablo Neira Ayuso <pablo at 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
-- 
1.7.2.3





More information about the OpenBSC mailing list