Fixed multiple smaller compiler warnings

This commit is contained in:
goldsimon
2014-11-07 14:29:53 +01:00
parent a5e748de84
commit ec93b03d8d
10 changed files with 29 additions and 12 deletions

View File

@@ -40,6 +40,7 @@
*/
#include "lwip/opt.h"
#if PPP_SUPPORT
#if LWIP_INCLUDED_POLARSSL_DES
#include "netif/ppp/polarssl/des.h"
@@ -419,4 +420,5 @@ void des_crypt_ecb( des_context *ctx,
PUT_ULONG_BE( X, output, 4 );
}
#endif /* PPP_SUPPORT */
#endif /* LWIP_INCLUDED_POLARSSL_DES */

View File

@@ -40,6 +40,7 @@
*/
#include "lwip/opt.h"
#if PPP_SUPPORT
#if LWIP_INCLUDED_POLARSSL_MD4
#include "netif/ppp/polarssl/md4.h"
@@ -276,4 +277,5 @@ void md4( unsigned char *input, int ilen, unsigned char output[16] )
md4_finish( &ctx, output );
}
#endif /* PPP_SUPPORT */
#endif /* LWIP_INCLUDED_POLARSSL_MD4 */

View File

@@ -39,6 +39,7 @@
*/
#include "lwip/opt.h"
#if PPP_SUPPORT
#if LWIP_INCLUDED_POLARSSL_MD5
#include "netif/ppp/polarssl/md5.h"
@@ -295,4 +296,5 @@ void md5( unsigned char *input, int ilen, unsigned char output[16] )
md5_finish( &ctx, output );
}
#endif /* PPP_SUPPORT */
#endif /* LWIP_INCLUDED_POLARSSL_MD5 */

View File

@@ -39,6 +39,7 @@
*/
#include "lwip/opt.h"
#if PPP_SUPPORT
#if LWIP_INCLUDED_POLARSSL_SHA1
#include "netif/ppp/polarssl/sha1.h"
@@ -330,4 +331,5 @@ void sha1( unsigned char *input, int ilen, unsigned char output[20] )
sha1_finish( &ctx, output );
}
#endif /* PPP_SUPPORT */
#endif /* LWIP_INCLUDED_POLARSSL_SHA1 */