From: Roland McGrath Date: Tue, 13 Sep 2005 17:46:15 +0000 (+0000) Subject: [BZ #1261] X-Git-Tag: cvs/fedora-glibc-20051003T2040~92 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2ac057a06948dc0ca13e7f13dc4b1dd0fd122d0e;p=thirdparty%2Fglibc.git [BZ #1261] 2005-08-29 Thomas Schwinge [BZ #1261] * manual/memory.texi (Hooks for Malloc): Correct prototype of my_init_hook and definition of my_free_hook. --- diff --git a/ChangeLog b/ChangeLog index 87029e79af8..a4323b97686 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-08-29 Thomas Schwinge + + [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 [BZ #1331] diff --git a/manual/memory.texi b/manual/memory.texi index ee2cd75c440..0f28806a22a 100644 --- a/manual/memory.texi +++ b/manual/memory.texi @@ -948,7 +948,7 @@ program. #include /* 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 */