Introduced #define LWIP_UNUSED_ARG(x) use this for and architecture-independent form to tell the compiler you intentionally are not using this variable. Can be overriden in cc.h.

This commit is contained in:
goldsimon
2007-04-04 19:54:22 +00:00
parent f8aa14d402
commit f6bdd2cae4
6 changed files with 21 additions and 8 deletions

View File

@@ -55,6 +55,10 @@
#endif /* PACK_STRUCT_FIELD */
#ifndef LWIP_UNUSED_ARG
#define LWIP_UNUSED_ARG(x) (void)x
#endif /* LWIP_UNUSED_ARG */
#ifdef LWIP_PROVIDE_ERRNO