- applied some -W's from strongswan

- fixed that warnings
This commit is contained in:
Martin Willi
2006-05-09 07:34:25 +00:00
parent 24953b5e18
commit f768bdc3f3
62 changed files with 147 additions and 145 deletions
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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_*/
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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_*/