On Wed, Nov 16, 2022 at 01:54:52PM +0100, Jakub Raczyński wrote:

>  arm-linux-gcc -Wall -DVER=3.1-00176-ga115563-dirty -D_GNU_SOURCE 
> -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -c -o tlv.o tlv.c 
> tlv.c: In function ‘mgt_post_recv’: 
> tlv.c:374:3: error: ‘for’ loop initial declarations are only allowed in C99 
> or C11 mode 
> for (int i = 0; i < umtn->actual_table_size; i++) { 

Yeah that snuck past the review.  Local variables belong at top of
function.  Please submit patch to fix.

Thanks,
Richard


_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to