diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-12-23 14:17:30 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-12-23 14:17:30 +0100 |
| commit | c2e81ff9641a7743b1f47cbf4fcf899c391df77f (patch) | |
| tree | 87af99905d003de9dc52cc82a3fcf200670c2cbb /man3/malloc_hook.3 | |
| parent | d526b40d5b2a25d8b49cd9f188c682233e125d79 (diff) | |
| download | man-pages-c2e81ff9641a7743b1f47cbf4fcf899c391df77f.tar.gz | |
seccomp.2, circleq.3, list.3, malloc_hook.3, slist.3, stailq.3, tailq.3, ip.7, unix.7: tfix
Remove "." at the end of sentence fragments/short single sentences
in comments.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/malloc_hook.3')
| -rw-r--r-- | man3/malloc_hook.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/man3/malloc_hook.3 b/man3/malloc_hook.3 index a6a06583f1..b88086e230 100644 --- a/man3/malloc_hook.3 +++ b/man3/malloc_hook.3 @@ -98,14 +98,14 @@ Here is a short example of how to use these variables. #include <stdio.h> #include <malloc.h> -/* Prototypes for our hooks. */ +/* Prototypes for our hooks */ static void my_init_hook(void); static void *my_malloc_hook(size_t, const void *); -/* Variables to save original hooks. */ +/* Variables to save original hooks */ static void *(*old_malloc_hook)(size_t, const void *); -/* Override initializing hook from the C library. */ +/* Override initializing hook from the C library */ void (*__malloc_initialize_hook) (void) = my_init_hook; static void @@ -129,7 +129,7 @@ my_malloc_hook(size_t size, const void *caller) /* Save underlying hooks */ old_malloc_hook = __malloc_hook; - /* printf() might call malloc(), so protect it too. */ + /* printf() might call malloc(), so protect it too */ printf("malloc(%zu) called from %p returns %p\en", size, caller, result); |
