mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-19 14:46:58 +08:00
PPP, adding const pragma to FSM callbacks, saving about 350 bytes in .data segment
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
*/
|
||||
typedef struct fsm {
|
||||
ppp_pcb *pcb; /* PPP Interface */
|
||||
struct fsm_callbacks *callbacks; /* Callback routines */
|
||||
const struct fsm_callbacks *callbacks; /* Callback routines */
|
||||
char *term_reason; /* Reason for closing protocol */
|
||||
u8_t seen_ack; /* Have received valid Ack/Nak/Rej to Req */
|
||||
/* -- This is our only flag, we might use u_int :1 if we have more flags */
|
||||
|
||||
Reference in New Issue
Block a user