From f7129b44aed6a3d02757ad35671a92ef8d58a20e Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 20 Apr 2020 19:35:09 +0200 Subject: 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 --- src/sccp_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3