From 71dfa861a6707de02ea8b69545940bc013ca2541 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Wed, 5 Feb 2014 15:38:15 +0100
Subject: [PATCH] Made valid prototypes by adding ( void ) as parameter
prototype
---
include/polarssl/memory_buffer_alloc.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/polarssl/memory_buffer_alloc.h b/include/polarssl/memory_buffer_alloc.h
index 053b1dd414..ccddc00205 100644
--- a/include/polarssl/memory_buffer_alloc.h
+++ b/include/polarssl/memory_buffer_alloc.h
@@ -66,7 +66,7 @@ int memory_buffer_alloc_init( unsigned char *buf, size_t len );
/**
* \brief Free the mutex for thread-safety and clear remaining memory
*/
-void memory_buffer_alloc_free();
+void memory_buffer_alloc_free( void );
/**
* \brief Determine when the allocator should automatically verify the state
@@ -85,7 +85,7 @@ void memory_buffer_set_verify( int verify );
* Prints out a list of 'still allocated' blocks and their stack
* trace if POLARSSL_MEMORY_BACKTRACE is defined.
*/
-void memory_buffer_alloc_status();
+void memory_buffer_alloc_status( void );
#endif /* POLARSSL_MEMORY_DEBUG */
/**
@@ -99,7 +99,7 @@ void memory_buffer_alloc_status();
*
* \returns 0 if verified, 1 otherwise
*/
-int memory_buffer_alloc_verify();
+int memory_buffer_alloc_verify( void );
#ifdef __cplusplus
}