⛏️ index : haiku.git

author Augustin Cavalier <waddlesplash@gmail.com> 2025-03-18 19:39:50.0 -04:00:00
committer Augustin Cavalier <waddlesplash@gmail.com> 2025-03-18 19:39:50.0 -04:00:00
commit
13a3941b1754caa49f3cedbb4eadeaa1e49f234c [patch]
tree
0266d2b20a1d5ee27e5e20ffa2c8f9fdd61f9b89
parent
ee31ca9f7e1c489e475217887cfcd0f24cc39840
download
13a3941b1754caa49f3cedbb4eadeaa1e49f234c.tar.gz

libroot/malloc: Don't export malloc_options.

It isn't needed.

Diff

 src/system/libroot/posix/malloc/openbsd/malloc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/system/libroot/posix/malloc/openbsd/malloc.c b/src/system/libroot/posix/malloc/openbsd/malloc.c
index 8482641..3245a15 100644
--- a/src/system/libroot/posix/malloc/openbsd/malloc.c
+++ b/src/system/libroot/posix/malloc/openbsd/malloc.c
@@ -280,9 +280,9 @@
{
	return mopts.malloc_pool[1]->malloc_mt ? mopts.malloc_mutexes : 2;
}
#endif

#else
char		*malloc_options;	/* compile-time options */
#endif

static __dead void wrterror(struct dir_info *d, char *msg, ...)
    __attribute__((__format__ (printf, 2, 3)));