uip: place some pointer in xdata.

Saves 2 bytes.
This commit is contained in:
René van Dorst
2026-08-26 20:51:32 +02:00
parent 683037f410
commit 301774040b
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -157,7 +157,7 @@ __xdata u16_t uip_len, uip_slen;
__xdata u8_t uip_flags; /* The uip_flags variable is used for
communication between the TCP/IP stack
and the application program. */
__xdata struct uip_conn *uip_conn; /* uip_conn always points to the current
__xdata struct uip_conn * __xdata uip_conn; /* uip_conn always points to the current
connection. */
__xdata struct uip_conn uip_conns[UIP_CONNS];
@@ -167,7 +167,7 @@ __xdata u16_t uip_listenports[UIP_LISTENPORTS];
/* The uip_listenports list all currently
listning ports. */
#if UIP_UDP
__xdata struct uip_udp_conn *uip_udp_conn;
__xdata struct uip_udp_conn * __xdata uip_udp_conn;
__xdata struct uip_udp_conn uip_udp_conns[UIP_UDP_CONNS];
#endif /* UIP_UDP */
@@ -466,7 +466,7 @@ uip_connect(register __xdata uip_ipaddr_t *ripaddr, __xdata u16_t rport) __banke
/*---------------------------------------------------------------------------*/
#if UIP_UDP
__xdata struct uip_udp_conn *
uip_udp_new(__xdata uip_ipaddr_t *ripaddr, __xdata u16_t rport) __banked
uip_udp_new(__xdata uip_ipaddr_t * __xdata ripaddr, __xdata u16_t rport) __banked
{
__xdata struct uip_udp_conn *conn;