summaryrefslogtreecommitdiff
path: root/malloc/mcheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'malloc/mcheck.c')
-rw-r--r--malloc/mcheck.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/malloc/mcheck.c b/malloc/mcheck.c
index d4303186a8..6a5f01e293 100644
--- a/malloc/mcheck.c
+++ b/malloc/mcheck.c
@@ -69,10 +69,8 @@ static int pedantic;
# define flood memset
#else
static void flood (__ptr_t, int, size_t);
-static void flood (ptr, val, size)
-__ptr_t ptr;
-int val;
-size_t size;
+static void
+flood (__ptr_t ptr, int val, size_t size)
{
char *cp = ptr;
while (size--)