<p>Harald Welte <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/10359">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gcc: fix warning<br><br>moving the define after the header fixes the following warning:<br>                 from ./atmel_softpack_libraries/libchip_sam3s/source/exceptions.c:46:<br>libcommon/include/stdio.h:63:12: warning: redundant redeclaration of 'printf_sync' [-Wredundant-decls]<br> signed int printf_sync(const char *pFormat, ...);<br>            ^~~~~~~~~~~<br>./atmel_softpack_libraries/libchip_sam3s/source/exceptions.c:45:16: note: previous declaration of 'printf_sync' was here<br> #define printf printf_sync<br>                ^~~~~~~~~~~<br>libcommon/include/stdio.h:51:12: note: in expansion of macro 'printf'<br> signed int printf(const char *pFormat, ...);<br><br>Change-Id: I21a8de325e8f8b91297dd157f2d6a0f64434bb28<br>---<br>M firmware/atmel_softpack_libraries/libchip_sam3s/source/exceptions.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/firmware/atmel_softpack_libraries/libchip_sam3s/source/exceptions.c b/firmware/atmel_softpack_libraries/libchip_sam3s/source/exceptions.c</span><br><span>index 6d2a135..4799eae 100644</span><br><span>--- a/firmware/atmel_softpack_libraries/libchip_sam3s/source/exceptions.c</span><br><span>+++ b/firmware/atmel_softpack_libraries/libchip_sam3s/source/exceptions.c</span><br><span>@@ -42,8 +42,8 @@</span><br><span>  *        Headers</span><br><span>  *----------------------------------------------------------------------------*/</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-#define printf printf_sync</span><br><span> #include "chip.h"</span><br><span style="color: hsl(120, 100%, 40%);">+#define printf printf_sync</span><br><span> </span><br><span> /*----------------------------------------------------------------------------</span><br><span>  *        Exported functions</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/10359">change 10359</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/10359"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: simtrace2 </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I21a8de325e8f8b91297dd157f2d6a0f64434bb28 </div>
<div style="display:none"> Gerrit-Change-Number: 10359 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Kévin Redon <kredon@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>