- applied some -W's from strongswan
- fixed that warnings
This commit is contained in:
@@ -377,7 +377,7 @@ static void destroy(private_md5_hasher_t *this)
|
||||
/*
|
||||
* Described in header.
|
||||
*/
|
||||
md5_hasher_t *md5_hasher_create()
|
||||
md5_hasher_t *md5_hasher_create(void)
|
||||
{
|
||||
private_md5_hasher_t *this = malloc_thing(private_md5_hasher_t);
|
||||
|
||||
|
||||
@@ -55,6 +55,6 @@ struct md5_hasher_t {
|
||||
*
|
||||
* @ingroup hashers
|
||||
*/
|
||||
md5_hasher_t *md5_hasher_create();
|
||||
md5_hasher_t *md5_hasher_create(void);
|
||||
|
||||
#endif /*MD5_HASHER_H_*/
|
||||
|
||||
@@ -252,7 +252,7 @@ static void destroy(private_sha1_hasher_t *this)
|
||||
/*
|
||||
* Described in header.
|
||||
*/
|
||||
sha1_hasher_t *sha1_hasher_create()
|
||||
sha1_hasher_t *sha1_hasher_create(void)
|
||||
{
|
||||
private_sha1_hasher_t *this = malloc_thing(private_sha1_hasher_t);
|
||||
|
||||
|
||||
@@ -55,6 +55,6 @@ struct sha1_hasher_t {
|
||||
*
|
||||
* @ingroup hashers
|
||||
*/
|
||||
sha1_hasher_t *sha1_hasher_create();
|
||||
sha1_hasher_t *sha1_hasher_create(void);
|
||||
|
||||
#endif /*SHA1_HASHER_H_*/
|
||||
|
||||
Reference in New Issue
Block a user