aboutsummaryrefslogtreecommitdiffstats
path: root/man3/malloc_hook.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2010-10-19 12:22:07 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2010-10-19 12:22:07 +0200
commita57970603e2c0a32acc5b92e1159a203c20e78a4 (patch)
tree5ccd11136312ab6ce6ba09910d0c691ab806218f /man3/malloc_hook.3
parent655d270c45e57aea5a3ae9c96959c2a11cfbd02f (diff)
downloadman-pages-a57970603e2c0a32acc5b92e1159a203c20e78a4.tar.gz
malloc_hook.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/malloc_hook.3')
-rw-r--r--man3/malloc_hook.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/malloc_hook.3 b/man3/malloc_hook.3
index f3f5540825..3a56f8fef6 100644
--- a/man3/malloc_hook.3
+++ b/man3/malloc_hook.3
@@ -47,11 +47,11 @@ points at a function that is called once when the malloc implementation
is initialized.
This is a weak variable, so it can be overridden in
the application with a definition like the following:
-.br
.nf
+
void (*__malloc_initialize_hook)(void) = my_init_hook;
+
.fi
-.br
Now the function
.IR my_init_hook ()
can do the initialization of all hooks.