Chris Johns created an issue: 
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/66



The branch `7-freebsd-14` is broken with 7 `main` tools:

```
In file included from ../../freebsd/sys/netinet/tcp_lro.c:42:
../../freebsd/sys/netinet/tcp_lro.c: In function '_bsd_tcp_lro_flush_all':
../../freebsd/sys/sys/systm.h:652:25: error: implicit declaration of function 
'tcp_hpts_softclock'; did you mean '_bsd_tcp_hpts_softclock'? 
[-Wimplicit-function-declaration]
  652 |                         tcp_hpts_softclock();                           
\
      |                         ^~~~~~~~~~~~~~~~~~
../../freebsd/sys/netinet/tcp_lro.c:1295:9: note: in expansion of macro 
'tcp_hpts_softclock'
 1295 |         tcp_hpts_softclock();
      |         ^~~~~~~~~~~~~~~~~~
```

The code is:

```
extern void     (*tcp_hpts_softclock)(void);
extern volatile uint32_t __read_frequently hpts_that_need_softclock;

#define tcp_hpts_softclock()    do {                                    \
                if (hpts_that_need_softclock > 0)                       \
                        tcp_hpts_softclock();                           \
} while (0)
```

I did not see this before.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/66
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to