aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-09-13 17:46:15 +0000
committerRoland McGrath <roland@gnu.org>2005-09-13 17:46:15 +0000
commit2ac057a06948dc0ca13e7f13dc4b1dd0fd122d0e (patch)
tree1ff5b535836c671bc6e420abaeefe0d463e1d346
parentad41c28e667155e5844ca55964294b8317317f9d (diff)
downloadglibc-2ac057a06948dc0ca13e7f13dc4b1dd0fd122d0e.zip
glibc-2ac057a06948dc0ca13e7f13dc4b1dd0fd122d0e.tar.gz
glibc-2ac057a06948dc0ca13e7f13dc4b1dd0fd122d0e.tar.bz2
[BZ #1261]
2005-08-29 Thomas Schwinge <schwinge@nic-nac-project.de> [BZ #1261] * manual/memory.texi (Hooks for Malloc): Correct prototype of my_init_hook and definition of my_free_hook.
-rw-r--r--ChangeLog6
-rw-r--r--manual/memory.texi4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 87029e7..a4323b9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-08-29 Thomas Schwinge <schwinge@nic-nac-project.de>
+
+ [BZ #1261]
+ * manual/memory.texi (Hooks for Malloc): Correct prototype of
+ my_init_hook and definition of my_free_hook.
+
2005-09-12 Roland McGrath <roland@redhat.com>
[BZ #1331]
diff --git a/manual/memory.texi b/manual/memory.texi
index ee2cd75..0f28806 100644
--- a/manual/memory.texi
+++ b/manual/memory.texi
@@ -948,7 +948,7 @@ program.
#include <malloc.h>
/* Prototypes for our hooks. */
-static void *my_init_hook (void);
+static void my_init_hook (void);
static void *my_malloc_hook (size_t, const void *);
static void my_free_hook (void*, const void *);
@@ -984,7 +984,7 @@ my_malloc_hook (size_t size, const void *caller)
return result;
@}
-static void *
+static void
my_free_hook (void *ptr, const void *caller)
@{
/* Restore all old hooks */