mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-06 20:39:14 +08:00
libnetworking: Silence set but not used warnings
This commit is contained in:
1 parent
cd035725b9
commit
38feeefd17
1 file changed
+1
-1
@@ -47,7 +47,7 @@ extern int soconnsleep (struct socket *so);
|
||||
extern void soconnwakeup (struct socket *so);
|
||||
#define splnet() 0
|
||||
#define splimp() 0
|
||||
#define splx(_s) do { (_s) = 0; } while(0)
|
||||
#define splx(_s) do { (_s) = 0; (void) (_s); } while(0)
|
||||
|
||||
/* to avoid warnings */
|
||||
void *memcpy(void *dest, const void *src, size_t n);
|
||||
|
||||
Reference in new issue
Block a user