summaryrefslogtreecommitdiff
path: root/malloc/hooks.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-06-08 00:22:23 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-06-08 00:22:23 +0000
commit60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca (patch)
tree29d9258b64874c6c9838757a9c67ef62a6a0868c /malloc/hooks.c
parent2e09a79ada1f6d92809a037d41895e3d9302ad59 (diff)
Use (void) in no-arguments function definitions.
Diffstat (limited to 'malloc/hooks.c')
-rw-r--r--malloc/hooks.c2
1 files changed, 1 insertions, 1 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;