about summary refs log tree commit diff
path: root/malloc
diff options
context:
space:
mode:
Diffstat (limited to 'malloc')
-rw-r--r--malloc/hooks.c2
-rw-r--r--malloc/malloc.c2
-rw-r--r--malloc/mtrace.c6
3 files changed, 5 insertions, 5 deletions
diff --git a/malloc/hooks.c b/malloc/hooks.c
index 8e4a6ed033..8c25846330 100644
--- a/malloc/hooks.c
+++ b/malloc/hooks.c
@@ -69,7 +69,7 @@ static int disallow_malloc_check;
 
 /* Activate a standard set of debugging hooks. */
 void
-__malloc_check_init()
+__malloc_check_init (void)
 {
   if (disallow_malloc_check) {
     disallow_malloc_check = 0;
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 70b9329cc3..be472b2ba3 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -4602,7 +4602,7 @@ struct mallinfo __libc_mallinfo()
 */
 
 void
-__malloc_stats()
+__malloc_stats (void)
 {
   int i;
   mstate ar_ptr;
diff --git a/malloc/mtrace.c b/malloc/mtrace.c
index 62867b1182..ee941333a8 100644
--- a/malloc/mtrace.c
+++ b/malloc/mtrace.c
@@ -72,7 +72,7 @@ static __ptr_t (*tr_old_memalign_hook) (size_t __alignment, size_t __size,
 extern void tr_break (void) __THROW;
 libc_hidden_proto (tr_break)
 void
-tr_break ()
+tr_break (void)
 {
 }
 libc_hidden_def (tr_break)
@@ -298,7 +298,7 @@ release_libc_mem (void)
    don't forget to set a breakpoint on tr_break!  */
 
 void
-mtrace ()
+mtrace (void)
 {
 #ifdef _LIBC
   static int added_atexit_handler;
@@ -363,7 +363,7 @@ mtrace ()
 }
 
 void
-muntrace ()
+muntrace (void)
 {
   if (mallstream == NULL)
     return;