summaryrefslogtreecommitdiff
path: root/malloc/mcheck.h
diff options
context:
space:
mode:
Diffstat (limited to 'malloc/mcheck.h')
-rw-r--r--malloc/mcheck.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/malloc/mcheck.h b/malloc/mcheck.h
index 3d55bd3444..5cf2bcd598 100644
--- a/malloc/mcheck.h
+++ b/malloc/mcheck.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -39,16 +39,16 @@ enum mcheck_status
before `malloc' is ever called. ABORTFUNC is called with an error code
(see enum above) when an inconsistency is detected. If ABORTFUNC is
null, the standard function prints on stderr and then calls `abort'. */
-extern int mcheck __P ((void (*__abortfunc) (enum mcheck_status)));
+extern int mcheck (void (*__abortfunc) (enum mcheck_status)) __THROW;
/* Check for aberrations in a particular malloc'd block. You must have
called `mcheck' already. These are the same checks that `mcheck' does
when you free or reallocate a block. */
-extern enum mcheck_status mprobe __P ((__ptr_t __ptr));
+extern enum mcheck_status mprobe (void *__ptr) __THROW;
/* Activate a standard collection of tracing hooks. */
-extern void mtrace __P ((void));
-extern void muntrace __P ((void));
+extern void mtrace (void) __THROW;
+extern void muntrace (void) __THROW;
__END_DECLS