mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-27 18:47:13 +08:00
task #14314: include cleanups
Couple of more cleanups for task #14314 involving includes: 1) if.h name should match if_api.c due to LwIP convention and history. Standard if.h include can be used with compatibility header in posix/net/if.h 2) API header (if.h) should not be included in core code. This include has been eliminated by moving the definition of IF_NAMESIZE to netif.h as NETIF_NAMESIZE. This is now the canonical definition and IF_NAMESIZE just maps to it to provide the standard type
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* @file
|
||||
* This file is a posix wrapper for lwip/if.h.
|
||||
* This file is a posix wrapper for lwip/if_api.h.
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -30,4 +30,4 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "lwip/if.h"
|
||||
#include "lwip/if_api.h"
|
||||
|
||||
Reference in New Issue
Block a user