<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-sgsn/+/19391">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gtphub_test: Fix compilation with gcc-10<br><br>/usr/bin/ld: ../../src/gtphub/gtphub.o:/home/laforge/projects/git/osmo-sgsn/src/gtphub/gtphub.c:50: multiple definition of `osmo_gtphub_ctx'; gtphub_test.o:/home/laforge/projects/git/osmo-sgsn/tests/gtphub/gtphub_test.c:57: first defined here<br>collect2: error: ld returned 1 exit status<br><br>See also https://alioth-lists.debian.net/pipermail/debian-mobcom-maintainers/Week-of-Mon-20200413/000653.html<br><br>Change-Id: I19c1eef6649d2747f0b624f5292d7ae47c4ca839<br>---<br>M tests/gtphub/gtphub_test.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/91/19391/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/gtphub/gtphub_test.c b/tests/gtphub/gtphub_test.c</span><br><span>index 2e48bb1..ed46176 100644</span><br><span>--- a/tests/gtphub/gtphub_test.c</span><br><span>+++ b/tests/gtphub/gtphub_test.c</span><br><span>@@ -54,7 +54,7 @@</span><br><span> void gtphub_init(struct gtphub *hub);</span><br><span> void gtphub_free(struct gtphub *hub);</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-void *osmo_gtphub_ctx;</span><br><span style="color: hsl(120, 100%, 40%);">+extern void *osmo_gtphub_ctx;</span><br><span> </span><br><span> static void nr_mapping_free(struct expiring_item *e)</span><br><span> {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-sgsn/+/19391">change 19391</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-sgsn/+/19391"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-sgsn </div>
<div style="display:none"> Gerrit-Branch: rel-1.6.1 </div>
<div style="display:none"> Gerrit-Change-Id: I19c1eef6649d2747f0b624f5292d7ae47c4ca839 </div>
<div style="display:none"> Gerrit-Change-Number: 19391 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>