]> git.ipfire.org Git - thirdparty/glibc.git/blame - malloc/malloc-hooks.h
malloc: Remove __malloc_initialize_hook from the API [BZ #19564]
[thirdparty/glibc.git] / malloc / malloc-hooks.h
CommitLineData
2ba3cfa1
FW
1/* Internal declarations of malloc hooks no longer in the public API.
2 Copyright (C) 2016 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
4
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public License as
7 published by the Free Software Foundation; either version 2.1 of the
8 License, or (at your option) any later version.
9
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; see the file COPYING.LIB. If
17 not, see <http://www.gnu.org/licenses/>. */
18
19#ifndef _MALLOC_HOOKS_H
20#define _MALLOC_HOOKS_H
21
22/* These hooks are no longer part of the public API and are poisoned
23 in <stdc-predef.h>. Their names here reflect the command-line
24 mapping which is used inside glibc to get past the poisoning. */
25void (*old__malloc_initialize_hook) (void);
26
27#endif /* _MALLOC_HOOKS_H */