diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2021-01-28 17:34:36 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2021-03-26 11:03:06 +0000 |
commit | 0ae773bba0ed6f5b06f8f2312162d8c0476e6b10 (patch) | |
tree | a0f1391da189da5a694f6e6a95afdb3560e75fe1 /include | |
parent | 8ae909a533b12221c3fd0c2331b13d99d9790718 (diff) | |
download | glibc-0ae773bba0ed6f5b06f8f2312162d8c0476e6b10.tar.gz |
malloc: Move MTAG_MMAP_FLAGS definition
This is only used internally in malloc.c, the extern declaration
was wrong, __mtag_mmap_flags has internal linkage.
Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/malloc.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/malloc.h b/include/malloc.h index 7ae08d53d3..b77761f74d 100644 --- a/include/malloc.h +++ b/include/malloc.h @@ -16,11 +16,4 @@ typedef struct malloc_state *mstate; # endif /* !_ISOMAC */ -#ifdef USE_MTAG -extern int __mtag_mmap_flags; -#define MTAG_MMAP_FLAGS __mtag_mmap_flags -#else -#define MTAG_MMAP_FLAGS 0 -#endif - #endif |