aboutsummaryrefslogtreecommitdiff
path: root/malloc/mtrace.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-09-08 08:12:39 +0000
committerUlrich Drepper <drepper@redhat.com>2004-09-08 08:12:39 +0000
commit06d6611aacdfcbc0bea3033b59b6bb2e35491fef (patch)
treec3aa81b51a11f7129fae9753fd6fe065d725fb58 /malloc/mtrace.c
parent590b40f7ec801ea1b4be47112a016ed369041e64 (diff)
downloadglibc-06d6611aacdfcbc0bea3033b59b6bb2e35491fef.zip
glibc-06d6611aacdfcbc0bea3033b59b6bb2e35491fef.tar.gz
glibc-06d6611aacdfcbc0bea3033b59b6bb2e35491fef.tar.bz2
Update.
2004-09-08 Ulrich Drepper <drepper@redhat.com> * malloc/arena.c: Remove __MALLOC_P uses. * malloc/malloc.c: Likewise. * malloc/mtrace.c: Remove __P uses. * malloc/mcheck-init.c: Likewise.
Diffstat (limited to 'malloc/mtrace.c')
-rw-r--r--malloc/mtrace.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/malloc/mtrace.c b/malloc/mtrace.c
index c4239dd..3ae9e8d 100644
--- a/malloc/mtrace.c
+++ b/malloc/mtrace.c
@@ -1,5 +1,5 @@
/* More debugging hooks for `malloc'.
- Copyright (C) 1991-1994,1996-2001,2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1991-1994,1996-2003, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Written April 2, 1991 by John Gilmore of Cygnus Support.
Based on mcheck.c by Mike Haertel.
@@ -65,15 +65,13 @@ int _mtrace_line;
#endif
/* Old hook values. */
-static void (*tr_old_free_hook) __P ((__ptr_t ptr, const __ptr_t));
-static __ptr_t (*tr_old_malloc_hook) __P ((__malloc_size_t size,
- const __ptr_t));
-static __ptr_t (*tr_old_realloc_hook) __P ((__ptr_t ptr,
- __malloc_size_t size,
- const __ptr_t));
-static __ptr_t (*tr_old_memalign_hook) __P ((__malloc_size_t __alignment,
- __malloc_size_t __size,
- __const __ptr_t));
+static void (*tr_old_free_hook) (__ptr_t ptr, const __ptr_t);
+static __ptr_t (*tr_old_malloc_hook) (__malloc_size_t size, const __ptr_t);
+static __ptr_t (*tr_old_realloc_hook) (__ptr_t ptr, __malloc_size_t size,
+ const __ptr_t);
+static __ptr_t (*tr_old_memalign_hook) (__malloc_size_t __alignment,
+ __malloc_size_t __size,
+ __const __ptr_t);
/* This function is called when the block being alloc'd, realloc'd, or
freed has an address matching the variable "mallwatch". In a debugger,