Change in libosmo-sccp[master]: sccp_internal.h: fix compilation with gcc-10

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/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Mon Apr 20 17:35:54 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/17911 )


Change subject: sccp_internal.h: fix compilation with gcc-10
......................................................................

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
---
M src/sccp_internal.h
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/11/17911/1

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 @@
 
 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);
 

-- 
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/17911
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: Icbc06ed2c8d2bd5c63716945c3df923ea4de7886
Gerrit-Change-Number: 17911
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200420/1fb5659b/attachment.htm>


More information about the gerrit-log mailing list