mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
dhcpserver: Move list_node to implementation not public interface
Was unused in the public interface. Closes https://github.com/espressif/esp-idf/issues/948
This commit is contained in:
parent
11a87ca811
commit
1be6bf6790
@ -71,6 +71,11 @@
|
||||
#define DHCPS_STATE_IDLE 5
|
||||
#define DHCPS_STATE_RELEASE 6
|
||||
|
||||
typedef struct _list_node {
|
||||
void *pnode;
|
||||
struct _list_node *pnext;
|
||||
} list_node;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
static const u32_t magic_cookie = 0x63538263;
|
||||
@ -135,7 +140,7 @@ void *dhcps_option_info(u8_t op_id, u32_t opt_len)
|
||||
* pinsert -- the insert node of the list
|
||||
* Returns : none
|
||||
*******************************************************************************/
|
||||
void node_insert_to_list(list_node **phead, list_node *pinsert)
|
||||
static void node_insert_to_list(list_node **phead, list_node *pinsert)
|
||||
{
|
||||
list_node *plist = NULL;
|
||||
struct dhcps_pool *pdhcps_pool = NULL;
|
||||
|
@ -176,11 +176,6 @@ struct dhcps_pool{
|
||||
u32_t lease_timer;
|
||||
};
|
||||
|
||||
typedef struct _list_node{
|
||||
void *pnode;
|
||||
struct _list_node *pnext;
|
||||
}list_node;
|
||||
|
||||
typedef u32_t dhcps_time_t;
|
||||
typedef u8_t dhcps_offer_t;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user