diff options
author | raf <none@none> | 2006-08-31 12:13:33 -0700 |
---|---|---|
committer | raf <none@none> | 2006-08-31 12:13:33 -0700 |
commit | 4088bb40326b75ef60834a6c2a92e29e25474b68 (patch) | |
tree | a5b45d72fb6f00432e93b1e67b6ff941b7f5fdc0 /usr/src/lib/libmapmalloc/common | |
parent | 3bf5ae9eedb977fad5c8a4029f296a9ec010c06e (diff) | |
download | illumos-joyent-4088bb40326b75ef60834a6c2a92e29e25474b68.tar.gz |
PSARC 2006/477 malloc library cleanup
6464344 malloc library cleanup
--HG--
rename : usr/src/lib/libmapmalloc/common/mallopt.c => deleted_files/usr/src/lib/libmapmalloc/common/mallopt.c
Diffstat (limited to 'usr/src/lib/libmapmalloc/common')
-rw-r--r-- | usr/src/lib/libmapmalloc/common/mallopt.c | 53 | ||||
-rw-r--r-- | usr/src/lib/libmapmalloc/common/mapfile-vers | 4 |
2 files changed, 1 insertions, 56 deletions
diff --git a/usr/src/lib/libmapmalloc/common/mallopt.c b/usr/src/lib/libmapmalloc/common/mallopt.c deleted file mode 100644 index c6e24c9963..0000000000 --- a/usr/src/lib/libmapmalloc/common/mallopt.c +++ /dev/null @@ -1,53 +0,0 @@ -/* - * CDDL HEADER START - * - * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. - * - * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE - * or http://www.opensolaris.org/os/licensing. - * See the License for the specific language governing permissions - * and limitations under the License. - * - * When distributing Covered Code, include this CDDL HEADER in each - * file and include the License file at usr/src/OPENSOLARIS.LICENSE. - * If applicable, add the following below this CDDL HEADER, with the - * fields enclosed by brackets "[]" replaced with your own identifying - * information: Portions Copyright [yyyy] [name of copyright owner] - * - * CDDL HEADER END - */ -/* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. - */ - -#pragma ident "%Z%%M% %I% %E% SMI" - -/*LINTLIBRARY*/ -#include <sys/types.h> -#include <malloc.h> - -struct mallinfo __mallinfo; - -/* - * mallopt -- Do nothing - */ -/*ARGSUSED*/ -int -mallopt(int cmd, int value) -{ - return (0); -} - - -/* - * mallinfo -- Do nothing - */ -struct mallinfo -mallinfo(void) -{ - return (__mallinfo); -} diff --git a/usr/src/lib/libmapmalloc/common/mapfile-vers b/usr/src/lib/libmapmalloc/common/mapfile-vers index 96815ef28d..ff69913f14 100644 --- a/usr/src/lib/libmapmalloc/common/mapfile-vers +++ b/usr/src/lib/libmapmalloc/common/mapfile-vers @@ -39,9 +39,7 @@ SUNW_0.7 { calloc = NODIRECT; cfree = NODIRECT; free = NODIRECT; - mallinfo = NODIRECT; malloc = NODIRECT; - mallopt = NODIRECT; memalign = NODIRECT; realloc = NODIRECT; valloc = NODIRECT; @@ -49,7 +47,7 @@ SUNW_0.7 { SUNWprivate_1.1 { global: - __mallinfo = NODIRECT; + SUNWprivate_1.1; local: *; }; |