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:
Joel Cunningham
2017-02-03 16:45:29 -06:00
parent 3d80e51b2a
commit 4fb7d74165
7 changed files with 19 additions and 14 deletions

View File

@@ -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"