summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-04-20 19:35:09 +0200
committerHarald Welte <laforge@osmocom.org>2020-04-20 19:35:43 +0200
commitf7129b44aed6a3d02757ad35671a92ef8d58a20e (patch)
tree9ee89fcc9eee4e37b82f7f1e39269e874a286531
parent858b81a252529a78180cbcb786eab89af58afd30 (diff)
sccp_internal.h: fix compilation with gcc-10
/usr/bin/ld: .libs/sccp_helpers.o:/home/laforge/projects/git/libosmo-sccp/src/sccp_internal.h:123: multiple definition of `sccp_scoc_fsm'; .libs/sua.o:/home/laforge/projects/git/libosmo-sccp/src/sccp_internal.h:123: first defined here See also https://alioth-lists.debian.net/pipermail/debian-mobcom-maintainers/Week-of-Mon-20200413/000646.html Change-Id: Icbc06ed2c8d2bd5c63716945c3df923ea4de7886
-rw-r--r--src/sccp_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sccp_internal.h b/src/sccp_internal.h
index 8df6c9b..98f6d37 100644
--- a/src/sccp_internal.h
+++ b/src/sccp_internal.h
@@ -120,7 +120,7 @@ int sccp_sclc_user_sap_down_nofree(struct osmo_sccp_user *scu, struct osmo_prim_
struct msgb *sccp_msgb_alloc(const char *name);
-struct osmo_fsm sccp_scoc_fsm;
+extern struct osmo_fsm sccp_scoc_fsm;
void sccp_scoc_show_connections(struct vty *vty, struct osmo_sccp_instance *inst);