mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-08 00:23:39 +08:00
Fixed multiple smaller compiler warnings
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user