File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
examples/lwip_ethernet_tap Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -105,10 +105,10 @@ typedef struct {
105105// We only use this as a mechanism for the kernel to inform the app that at
106106// least one frame has been placed into the streaming process slice. Hence this
107107// simply sets the `frame_received` flag passed in `data`:
108- static void frame_rx_upcall (__attribute__((unused )) int p0 ,
109- __attribute__((unused )) int p1 ,
110- __attribute__((unused )) int p2 ,
111- __attribute__(( unused )) void * data ) {
108+ static void frame_rx_upcall (__attribute__((unused )) int p0 ,
109+ __attribute__((unused )) int p1 ,
110+ __attribute__((unused )) int p2 ,
111+ void * data ) {
112112 struct netif * tapif = data ;
113113 tapif_state_t * state = tapif -> state ;
114114
@@ -142,8 +142,8 @@ static void frame_tx_upcall(int statuscode_int,
142142}
143143
144144// LwIP packet (Ethernet frame) transmission callback:
145- static err_t tapif_output (__attribute__(( unused )) struct netif * tapif ,
146- struct pbuf * p ) {
145+ static err_t tapif_output (struct netif * tapif ,
146+ struct pbuf * p ) {
147147 tapif_state_t * state = tapif -> state ;
148148
149149 // Increment the link statistics
You can’t perform that action at this time.
0 commit comments